summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-11-24 14:37:21 +0100
committerXavier Claessens <xclaesse@gmail.com>2009-11-24 18:29:45 +0100
commit3ad67fbdadb2b1da16c53a34fb04489a2acf1def (patch)
tree61dc0e56cc4b4e90f325a9c92c478dfcb4c13184 /tests
parent8ab216aca28acaa857b4b7faa606cd3af26b6cd9 (diff)
downloadempathy-3ad67fbdadb2b1da16c53a34fb04489a2acf1def.tar.gz
Init GTK from test_init()
Diffstat (limited to 'tests')
-rw-r--r--tests/test-helper.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-helper.c b/tests/test-helper.c
index 5595d8ee0..d51d22a52 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