diff --git a/ChangeLog b/ChangeLog index 94c140a7b..3d901868f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-12 Mike Kestner + + * glib/GType.cs: add an Init method for explicit initialization. + 2008-03-04 Mike Kestner * bootstrap-2.12: update version to 2.12 and tag diff --git a/glib/GType.cs b/glib/GType.cs index bc7b491c7..36e505987 100755 --- a/glib/GType.cs +++ b/glib/GType.cs @@ -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))