[empathy] Call empathy_init() from test_init()



commit 2fc34dbe48ff603b99b6e56ce4ea94d6a3a8c450
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Nov 24 14:31:13 2009 +0100

    Call empathy_init() from test_init()

 tests/test-helper.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-helper.c b/tests/test-helper.c
index 8b6cc29..5595d8e 100644
--- a/tests/test-helper.c
+++ b/tests/test-helper.c
@@ -21,6 +21,8 @@
 #include <glib.h>
 #include <glib-object.h>
 
+#include <libempathy/empathy-utils.h>
+
 #include "test-helper.h"
 
 void
@@ -28,7 +30,7 @@ test_init (int argc,
     char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  g_type_init ();
+  empathy_init ();
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]