[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
Thu Sep 28 14:09:22 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 alex.olk at googlemail.com.


--- shadow/79520	2006-09-28 11:05:06.000000000 -0400
+++ shadow/79520.tmp.21130	2006-09-28 14:09:22.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79520
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: lupus at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -20,6 +20,12 @@
 which is declared as follows in C:
 gboolean gtk_init_check (int *argc, char ***argv);
 but in C# a simple string is used for argv:
 static extern bool gtk_init_check (out int argc, string argv);
 The end result could be random memory corruption.
+------- Additional Comments From alex.olk at googlemail.com  2006-09-28 14:09 -------
+Do we really need to change anything here ?
+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.

More information about the mono-bugs mailing list