[at-spi2-atk] Don't return DBUS_HANDLER_RESULT_HANDLED for NameOwnerChanged signals
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Don't return DBUS_HANDLER_RESULT_HANDLED for NameOwnerChanged signals
- Date: Tue, 20 Nov 2012 22:28:09 +0000 (UTC)
commit abc815aa731b80392c676559c34815d463b0e51c
Author: Mike Gorse <mgorse suse com>
Date: Tue Nov 20 15:18:12 2012 -0600
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).
atk-adaptor/bridge.c | 1 -
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]