changeset 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 6c015d2764d3
children 93e9c1ba9498
files libpurple/core.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;