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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 29 05:35:04 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 lupus at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79520

--- shadow/79520	2006-09-28 14:17:20.000000000 -0400
+++ shadow/79520.tmp.4892	2006-09-29 05:35:04.000000000 -0400
@@ -30,6 +30,13 @@
 argv is always an empty string because gtk_init_check is only used to
 initialize the gtk library. No args are ever transfered to gtk_init_check.
 
 ------- Additional Comments From joncham at gmail.com  2006-09-28 14:17 -------
 If the parameter is never used for anything, we could just change the
 signature to take an IntPtr, correct? And then pass IntPtr.Zero?
+
+------- 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.


More information about the mono-bugs mailing list