diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-12-28 08:53:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-12-28 18:57:55 -0500 |
commit | 1ae7240932cd1be164c5dc94f8767afa541f1e83 (patch) | |
tree | 322700689717e8ed5ddd2423111c88c6aef77743 /tests/testfilechooserbutton.c | |
parent | a3e2fc2df6ed9e896aa553a3acc1a5c363914d09 (diff) | |
download | gtk+-no-init-args.tar.gz |
Update callersno-init-args
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r-- | tests/testfilechooserbutton.c | 3 |
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) |