[Gtk-sharp-list] Generator choking on Mozilla

Mark Crichton crichton@gimp.org
Tue, 18 Feb 2003 12:08:20 -0500


--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Ok, so I'm tryining to finish up the C# bindings to the Gtk2 wadget
found in mozilla.

The problem I'm now running into is the following error:
mcs --unsafe --target library -L ../glib -L ../pango -L ../atk -L
../gdk -L ../gtk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll
-r gdk-sharp.dll -r gtk-sharp.dll -o gtkmozembed-sharp.dll --recurse
'*.cs'
./generated/GtkMozEmbedSharp.EmbedWidgetObjectuintSignal.cs(39) error
CS0123: Method 'GtkMozEmbed.EmbedWidget
GtkMozEmbedSharp.EmbedWidgetObjectuintSignal.EmbedWidgetObjectuintCallback
(System.IntPtr, uint, int)' does not match delegate 'System.IntPtr
GtkMozEmbedSharp.EmbedWidgetObjectuintDelegate (System.IntPtr, uint,
int)'

This is because the signal:
GtkMozEmbed *(* new_window2) (GtkMozEmbed *embed, guint chromemask);

So, I think there is a bug in the generator, or I need a workaround.

Any suggestions?

Mark



--AhhlLboLdkugWU4S
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)

iD8DBQE+UmiDOfj2Ja/u/oARAjMzAKCTxUXKrae5qnrYKJlb7cYRl7/V5ACgmGuq
Pd5vR9N+CzqsAbWIRYJDucg=
=u8K6
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--