summaryrefslogtreecommitdiff
path: root/mate-session/gsm-consolekit.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-07 13:40:30 +0100
committerinfirit <[email protected]>2014-11-07 14:31:52 +0100
commit0da2caff6cb73d8dcd159fbeb37da60ad33c6003 (patch)
tree59011af2c7be9776b4989b12079c7f039b7b011e /mate-session/gsm-consolekit.c
parentd8019f52885d7f707af7e9afb4dda496c6a652f2 (diff)
downloadmate-session-manager-0da2caff6cb73d8dcd159fbeb37da60ad33c6003.tar.bz2
mate-session-manager-0da2caff6cb73d8dcd159fbeb37da60ad33c6003.tar.xz
gsm: Never mark as handled the Disconnected signal from dbus
Disconnected is emitted when dbus is quitting. And all the dbus filters might be interested in this signal, so never mark it as handled when we look at it. Based on gnome-commit: 67dd879fbe62bc28d3bbc48b88c3842e2cb827e8 From: Vincent Untz <[email protected]>
Diffstat (limited to 'mate-session/gsm-consolekit.c')
-rw-r--r--mate-session/gsm-consolekit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-session/gsm-consolekit.c b/mate-session/gsm-consolekit.c
index e04ae76..a008c4c 100644
--- a/mate-session/gsm-consolekit.c
+++ b/mate-session/gsm-consolekit.c
@@ -164,7 +164,8 @@ gsm_consolekit_dbus_filter (DBusConnection *connection,
DBUS_INTERFACE_LOCAL, "Disconnected") &&
strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) {
gsm_consolekit_free_dbus (manager);
- return DBUS_HANDLER_RESULT_HANDLED;
+ /* let other filters get this disconnected signal, so that they
+ * can handle it too */
}
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;