[empathy] Init GTK from test_init()



commit 3ad67fbdadb2b1da16c53a34fb04489a2acf1def
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Nov 24 14:37:21 2009 +0100

    Init GTK from test_init()

 tests/test-helper.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-helper.c b/tests/test-helper.c
index 5595d8e..d51d22a 100644
--- a/tests/test-helper.c
+++ b/tests/test-helper.c
@@ -20,8 +20,9 @@
 #include <stdlib.h>
 #include <glib.h>
 #include <glib-object.h>
+#include <gtk/gtk.h>
 
-#include <libempathy/empathy-utils.h>
+#include <libempathy-gtk/empathy-ui-utils.h>
 
 #include "test-helper.h"
 
@@ -30,7 +31,8 @@ test_init (int argc,
     char **argv)
 {
   g_test_init (&argc, &argv, NULL);
-  empathy_init ();
+  gtk_init (&argc, &argv);
+  empathy_gtk_init ();
 }
 
 void



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