[Mono-bugs] [Bug 79520][Maj] Changed - incorrect binding to gtk_init_check (twice)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 29 11:24:57 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by toshok at ximian.com.


--- shadow/79520	2006-09-29 11:24:20.000000000 -0400
+++ shadow/79520.tmp.10309	2006-09-29 11:24:57.000000000 -0400
@@ -37,6 +37,11 @@
 ------- Additional Comments From lupus at ximian.com  2006-09-29 05:35 -------
 You can't pass a string where a pointer to an array of C strings is
 expected by the C code, it is completely wrong, it doesn't matter if
 the string is the empty string.
 As for passing NULL, you'll have to check the gtk+ C code and see if
 it handles that gracefully.
+------- Additional Comments From toshok at ximian.com  2006-09-29 11:24 -------
+both gtk_init_check and gdk_init_check (which we also bind
+incorrectly) can handle NULL argv's, so the IntPtr.Zero change seems
+like the way to go.

More information about the mono-bugs mailing list