2008-03-12 Mike Kestner <mkestner@novell.com>

* glib/GType.cs: add an Init method for explicit initialization.

svn path=/trunk/gtk-sharp/; revision=98056
This commit is contained in:
Mike Kestner 2008-03-12 16:15:06 +00:00
parent 708907e311
commit 51292d20b3
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-03-12 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: add an Init method for explicit initialization.
2008-03-04 Mike Kestner <mkestner@novell.com>
* bootstrap-2.12: update version to 2.12 and tag

View File

@ -138,6 +138,11 @@ namespace GLib {
return LookupType (gtype.Val);
}
public static void Init ()
{
// cctor already calls g_type_init.
}
public static Type LookupType (IntPtr typeid)
{
if (types.Contains (typeid))