changeset 22972:6c015d2764d3

Initialize the type system in purple_check_init to prevent 'make check' blowing up when the new network manager dbus code tries to do stuff in purple_network_init
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 May 2008 15:49:41 +0000
parents 6e4a8987a614
children 9331f4c7f6d8 8ac3ffa6841e
files libpurple/tests/check_libpurple.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/tests/check_libpurple.c	Fri May 16 12:57:08 2008 +0000
+++ b/libpurple/tests/check_libpurple.c	Fri May 16 15:49:41 2008 +0000
@@ -39,6 +39,8 @@
 purple_check_init(void) {
 	gchar *home_dir;
 
+	g_type_init();
+
 	purple_eventloop_set_ui_ops(&eventloop_ui_ops);
 
 	/* build our fake home directory */