[Gtk-sharp-list] gapi-generator patch for GtkMoz
Mark Crichton
crichton@gimp.org
Wed, 2 Apr 2003 10:27:30 -0500
--oLBj+sq0vYjzfsbl
Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM"
Content-Disposition: inline
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Ok. There's one last patch one needs on the gtk-sharp side to get my
gtkmoz bindings working. It's attached
Can someone look it over and comment?
Thanks,
Mark
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sh.cs.patch"
Content-Transfer-Encoding: quoted-printable
? sh.cs.patch
Index: SignalHandler.cs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/public/gtk-sharp/generator/SignalHandler.cs,v
retrieving revision 1.22
diff -u -r1.22 SignalHandler.cs
--- SignalHandler.cs 28 Feb 2003 10:55:59 -0000 1.22
+++ SignalHandler.cs 2 Apr 2003 15:22:21 -0000
@@ -160,7 +160,7 @@
else
sw.WriteLine ("\t\t\t\tthrow new Exception(\"args.RetVal unset in ca=
llback\");");
=20
- sw.WriteLine("\t\t\treturn (" + p_ret + ") " + SymbolTable.CallByName=
(retval, "args.RetVal") + ";");
+ sw.WriteLine("\t\t\treturn (" + p_ret + ") " + SymbolTable.CallByName=
(retval, "((" + s_ret + ")args.RetVal)") + ";");
}
sw.WriteLine("\t\t}");
sw.WriteLine();
--yrj/dFKFPuw6o+aM--
--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)
iD8DBQE+iwFiOfj2Ja/u/oARAttHAKDE8zEjx3cmjybsf2yQiOpy6touVwCdHZum
iS50onM9Elp0Ycz3rN0DKVY=
=IDQL
-----END PGP SIGNATURE-----
--oLBj+sq0vYjzfsbl--