[glib/wip/gapplication] Make Quit return
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gapplication] Make Quit return
- Date: Fri, 21 May 2010 04:05:07 +0000 (UTC)
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)", ×tamp);
-
- 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]