diff libpurple/core.c @ 22973:9331f4c7f6d8

Initialize the glib type system early in purple_core_init() too so UIs don't need to do it themselves when their UI toolkit doesn't already do so
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 May 2008 18:19:36 +0000
parents 5433b59bdfc3
children 25161f5ea347
line wrap: on
line diff
--- a/libpurple/core.c	Fri May 16 15:49:41 2008 +0000
+++ b/libpurple/core.c	Fri May 16 18:19:36 2008 +0000
@@ -87,6 +87,8 @@
 	wpurple_init();
 #endif
 
+	g_type_init();
+
 	_core = core = g_new0(PurpleCore, 1);
 	core->ui = g_strdup(ui);
 	core->reserved = NULL;