2002-07-06 Rachel Hestilow <hestilow@ximian.com>

* generator/Parameters.cs (Initialize): Initialize error
	to zero.

svn path=/trunk/gtk-sharp/; revision=5629
This commit is contained in:
Rachel Hestilow 2002-07-06 20:57:50 +00:00
parent c653c18543
commit 0fb0f3c54a
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-07-06 Rachel Hestilow <hestilow@ximian.com>
* generator/Parameters.cs (Initialize): Initialize error
to zero.
2002-07-06 Rachel Hestilow <hestilow@ximian.com> 2002-07-06 Rachel Hestilow <hestilow@ximian.com>
* ObjectGen.cs: Support static string elements. Do * ObjectGen.cs: Support static string elements. Do

View file

@ -183,7 +183,7 @@ namespace GtkSharp.Generation {
} }
if (ThrowsException) if (ThrowsException)
sw.WriteLine (indent + "\t\t\tIntPtr error;"); sw.WriteLine (indent + "\t\t\tIntPtr error = IntPtr.Zero;");
} }
/* /*
public void Finish (StreamWriter sw) public void Finish (StreamWriter sw)

View file

@ -129,7 +129,7 @@ gtksharp_gnome_program_init (const char *app_id, const char *app_version,
g_free (gnome_espeaker); g_free (gnome_espeaker);
g_free (unhandled); g_free (unhandled);
/* Remove this too when marshalling fixed */ /* Remove this too when marshalling fixed */
g_free (argv); g_free (argv);