summaryrefslogtreecommitdiff
path: root/tests/animated-resizing.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-12-28 08:53:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-12-28 18:57:55 -0500
commit1ae7240932cd1be164c5dc94f8767afa541f1e83 (patch)
tree322700689717e8ed5ddd2423111c88c6aef77743 /tests/animated-resizing.c
parenta3e2fc2df6ed9e896aa553a3acc1a5c363914d09 (diff)
downloadgtk+-no-init-args.tar.gz
Update callersno-init-args
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'tests/animated-resizing.c')
-rw-r--r--tests/animated-resizing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c
index f0f5269682..5f686cef59 100644
--- a/tests/animated-resizing.c
+++ b/tests/animated-resizing.c
@@ -173,8 +173,6 @@ main(int argc, char **argv)
GOptionContext *context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, options, NULL);
frame_stats_add_options (g_option_context_get_main_group (context));
- g_option_context_add_group (context,
- gtk_get_option_group (TRUE));
if (!g_option_context_parse (context, &argc, &argv, &error))
{
@@ -182,6 +180,8 @@ main(int argc, char **argv)
return 1;
}
+ gtk_init ();
+
g_print ("# Load factor: %g\n",
load_factor);
g_print ("# Resizing?: %s\n",