projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5406c
)
Allow EventListenerRegistered with old signature
author
Mike Gorse
<mgorse@suse.com>
Mon, 24 Feb 2014 23:09:52 +0000
(17:09 -0600)
committer
Mike Gorse
<mgorse@suse.com>
Mon, 24 Feb 2014 23:09:52 +0000
(17:09 -0600)
Add_event_from_iter checks for the old form anyway, so might as well
allow it. Improves compatibility with at-spi2-registryd <= 3.10.
atk-adaptor/bridge.c
patch
|
blob
|
history
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
e7b3bab
..
aeabb91
100644
(file)
--- a/
atk-adaptor/bridge.c
+++ b/
atk-adaptor/bridge.c
@@
-696,7
+696,8
@@
handle_event_listener_registered (DBusConnection *bus, DBusMessage *message,
DBusMessageIter iter;
const char *signature = dbus_message_get_signature (message);
- if (strcmp (signature, "ssas") != 0)
+ if (strcmp (signature, "ssas") != 0 &&
+ strcmp (signature, "ss") != 0)
{
g_warning ("got RegisterEvent with invalid signature '%s'", signature);
return;