summaryrefslogtreecommitdiff
path: root/tests/testfilechooserbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r--tests/testfilechooserbutton.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c
index 96deb114f3..74bc80a030 100644
--- a/tests/testfilechooserbutton.c
+++ b/tests/testfilechooserbutton.c
@@ -230,11 +230,10 @@ main (int argc,
context = g_option_context_new ("- test GtkFileChooserButton widget");
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
- g_option_context_add_group (context, gtk_get_option_group (TRUE));
g_option_context_parse (context, &argc, &argv, NULL);
g_option_context_free (context);
- gtk_init (&argc, &argv);
+ gtk_init ();
/* to test rtl layout, use "--right-to-left" */
if (rtl)