summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-11-20 15:18:12 -0600
committerMike Gorse <mgorse@suse.com>2012-11-20 15:18:12 -0600
commitabc815aa731b80392c676559c34815d463b0e51c (patch)
treed0949826d6ba043a68e9e7c7e568b5f61c5b83b3
parent48928826ce4f17882dff40c3ac185abc7bbfb74a (diff)
downloadat-spi2-atk-abc815aa731b80392c676559c34815d463b0e51c.tar.gz
Don't return DBUS_HANDLER_RESULT_HANDLED for NameOwnerChanged signals
NameOwnerChanged signals are generic signals sent out by dbus-daemon, not really specific to this code, so the filter should return DBUS_HANDLER_RESULT_NOT_YET_HANDLED for them so that libdbus will propagate them to other filters (specifically the one in at-spi2-core, which shares a D-Bus connection with at-spi2-atk).
-rw-r--r--atk-adaptor/bridge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index c1de369..7dd355b 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -680,7 +680,6 @@ signal_filter (DBusConnection *bus, DBusMessage *message, void *user_data)
!g_strcmp0(member, "NameOwnerChanged"))
{
char *name, *old, *new;
- result = DBUS_HANDLER_RESULT_HANDLED;
if (dbus_message_get_args (message, NULL,
DBUS_TYPE_STRING, &name,
DBUS_TYPE_STRING, &old,