summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-12 15:49:38 +0000
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-12 15:49:38 +0000
commitcbedf400e93dd3526607df4aedd3e623a54199d3 (patch)
tree0532271104d323cb02d8e069db9c612854f4342e /tests
parentf3b9e7312962dae85b0476d7232db8a213bef856 (diff)
gtk_init and g_thread_init shouldn't be called by libraries. Let applications do it.
svn path=/trunk/; revision=1971
Diffstat (limited to 'tests')
-rw-r--r--tests/contact-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/contact-manager.c b/tests/contact-manager.c
index ac3b6bdc8..81c1a9ba4 100644
--- a/tests/contact-manager.c
+++ b/tests/contact-manager.c
@@ -18,7 +18,8 @@ main (int argc, char **argv)
GtkWidget *window;
GtkCellRenderer *renderer;
- empathy_gtk_init (&argc, &argv);
+ gtk_init (&argc, &argv);
+ empathy_gtk_init ();
empathy_debug_set_flags (g_getenv ("EMPATHY_DEBUG"));
main_loop = g_main_loop_new (NULL, FALSE);