GApplication: Make ::startup run-first
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2011 04:44:30 +0000 (23:44 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2011 04:46:32 +0000 (23:46 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=665817

gio/gapplication.c

index 01636a9..a562351 100644 (file)
@@ -749,7 +749,7 @@ g_application_class_init (GApplicationClass *class)
    * after registration. See g_application_register().
    */
   g_application_signals[SIGNAL_STARTUP] =
-    g_signal_new ("startup", G_TYPE_APPLICATION, G_SIGNAL_RUN_LAST,
+    g_signal_new ("startup", G_TYPE_APPLICATION, G_SIGNAL_RUN_FIRST,
                   G_STRUCT_OFFSET (GApplicationClass, startup),
                   NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);