Add_event_from_iter checks for the old form anyway, so might as well
allow it. Improves compatibility with at-spi2-registryd <= 3.10.
DBusMessageIter iter;
const char *signature = dbus_message_get_signature (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;
{
g_warning ("got RegisterEvent with invalid signature '%s'", signature);
return;