[Gtk-sharp-list] Parameters of callbacks
Ricardo Fernández Pascual
rfp1@ono.com
13 Aug 2002 19:08:58 +0200
--=-DsF4/6X2lo1CAsdt944N
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
I noticed that all callback delegated were created without
parameters. This patch fixes it. Is it correct?
(sorry if this message gets duplicated, I sent it with the wrong
account)
--=20
Ricardo Fern=E1ndez Pascual
ric@users.sourceforge.net
Murcia. Espa=F1a.
--=-DsF4/6X2lo1CAsdt944N
Content-Disposition: attachment; filename=params.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=params.diff; charset=ISO-8859-15
? params.diff
? glade/Makefile
? glade/generated
? glade/glade-sharp.dll
? sample/GladeTest.cs
? sample/test.glade
Index: ChangeLog
=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: /mono/gtk-sharp/ChangeLog,v
retrieving revision 1.182
diff -u -r1.182 ChangeLog
--- ChangeLog 13 Aug 2002 14:01:13 -0000 1.182
+++ ChangeLog 13 Aug 2002 16:59:01 -0000
@@ -1,3 +1,8 @@
+2002-08-13 Ricardo Fern=E1ndez Pascual <ric@users.sourceforge.net>
+
+ * generator/CallbackGen.cs: Create the signature of the
+ parameters.
+=09
2002-08-13 Joe Shaw <joe@assbarn.com>
=20
* configure.in: Check for libgnomecanvas.
Index: generator/CallbackGen.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: /mono/gtk-sharp/generator/CallbackGen.cs,v
retrieving revision 1.11
diff -u -r1.11 CallbackGen.cs
--- generator/CallbackGen.cs 26 Jul 2002 06:08:49 -0000 1.11
+++ generator/CallbackGen.cs 13 Aug 2002 16:59:01 -0000
@@ -75,8 +75,10 @@
StreamWriter sw =3D CreateWriter ();=0D
=20=0D
string sig =3D "";=0D
- if (parms !=3D null)=20=0D
+ if (parms !=3D null) {=0D
+ parms.CreateSignature (false);=0D
sig =3D parms.Signature;=0D
+ }=0D
=20=0D
sw.WriteLine ("\tpublic delegate " + s_ret + " " + Name + "(" + sig + "=
);");=0D
=20=0D
--=-DsF4/6X2lo1CAsdt944N--