From 8293cda1c6d8b6bc51c2c8db85ff1f5f38bbc1d0 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Mon, 24 Feb 2014 17:09:52 -0600 Subject: [PATCH] Allow EventListenerRegistered with old signature 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index e7b3bab..aeabb91 100644 --- 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; -- 2.7.4