]> git.0d.be Git - empathy.git/commitdiff
Init GTK from test_init()
authorXavier Claessens <xclaesse@gmail.com>
Tue, 24 Nov 2009 13:37:21 +0000 (14:37 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Tue, 24 Nov 2009 17:29:45 +0000 (18:29 +0100)
tests/test-helper.c

index 5595d8ee04997e3c1f2f039af29b46e64f43058d..d51d22a52cdd551c8e599a52bdf1d0b96f8a1c07 100644 (file)
@@ -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