summaryrefslogtreecommitdiff
path: root/dbus/dbus-gproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-gproxy.c')
-rw-r--r--dbus/dbus-gproxy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbus/dbus-gproxy.c b/dbus/dbus-gproxy.c
index 2fc52f9..c3ae9ec 100644
--- a/dbus/dbus-gproxy.c
+++ b/dbus/dbus-gproxy.c
@@ -1252,4 +1252,7 @@ dbus_g_proxy_manager_filter (DBusConnection *connection,
+ sender = dbus_message_get_sender (message);
+
/* First we handle NameOwnerChanged internally */
- if (dbus_message_is_signal (message,
+ if (g_strcmp0 (sender, DBUS_SERVICE_DBUS) == 0 &&
+ dbus_message_is_signal (message,
DBUS_INTERFACE_DBUS,
@@ -1282,4 +1285,2 @@ dbus_g_proxy_manager_filter (DBusConnection *connection,
- sender = dbus_message_get_sender (message);
-
/* dbus spec requires these, libdbus validates */