[glib/wip/gapplication] Make Quit return



commit 153ebd16d2fc725ce03037df1cab550991ee2378
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 20 22:56:57 2010 -0400

    Make Quit return
    
    At least give the Quit method call a chance to return before
    we exit.

 gio/gunixapplication.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gunixapplication.c b/gio/gunixapplication.c
index 04984d2..b5c08a8 100644
--- a/gio/gunixapplication.c
+++ b/gio/gunixapplication.c
@@ -48,10 +48,10 @@ application_dbus_method_call (GDBusConnection       *connection,
     {
       guint32 timestamp;
       g_variant_get (parameters, "(u)", &timestamp);
-      
-      g_application_quit (app, timestamp);
-      
+
       g_dbus_method_invocation_return_value (invocation, NULL);
+
+      g_application_quit (app, timestamp);
     }
   else if (strcmp (method_name, "ListActions") == 0)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]