summaryrefslogtreecommitdiff
path: root/testsuite/gtk/firefox-stylecontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gtk/firefox-stylecontext.c')
-rw-r--r--testsuite/gtk/firefox-stylecontext.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/gtk/firefox-stylecontext.c b/testsuite/gtk/firefox-stylecontext.c
index 86dc1ee5f0..f02cb3aaf5 100644
--- a/testsuite/gtk/firefox-stylecontext.c
+++ b/testsuite/gtk/firefox-stylecontext.c
@@ -53,11 +53,7 @@ test_init_of_theme (void)
int
main (int argc, char *argv[])
{
- /* If gdk_init() is called before gtk_init() the GTK code takes
- * a different path (why?)
- */
- gdk_init (NULL, NULL);
- gtk_init (NULL, NULL);
+ gtk_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/style/init_of_theme", test_init_of_theme);