summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-12-28 08:53:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-01-19 13:50:17 -0500
commit2c7e567f05eb31aa3b78ed83fd92a09153525210 (patch)
treea37b930ca56af69554ef2f8c49e3efbb56fcab00 /gtk/gtkapplication.c
parent4d7fa52fe9e41f7d3f1b54b6f82bd28f99b7ec92 (diff)
downloadgtk+-2c7e567f05eb31aa3b78ed83fd92a09153525210.tar.gz
Update callers
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r--gtk/gtkapplication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index a1b2271cab..ff70808584 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -290,7 +290,7 @@ gtk_application_startup (GApplication *g_application)
gtk_action_muxer_insert (application->priv->muxer, "app", G_ACTION_GROUP (application));
- gtk_init (NULL, NULL);
+ gtk_init ();
application->priv->impl = gtk_application_impl_new (application, gdk_display_get_default ());
gtk_application_impl_startup (application->priv->impl, application->priv->register_session);