From: Mike Gorse Date: Wed, 26 Oct 2016 14:14:39 +0000 (-0500) Subject: Always send property-change signals, except for transient objects X-Git-Tag: AT_SPI2_ATK_2_24_0~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96621a5e950c041e718923f58540c969164340c4;p=platform%2Fupstream%2Fat-spi2-atk.git Always send property-change signals, except for transient objects At-spi2-core generally caches properties, so it needs notification when these properties change. signal_is_needed() was intended to account for this but failed to do so because of n incorrect strcmp. --- diff --git a/atk-adaptor/event.c b/atk-adaptor/event.c index 3e1e80e..b539646 100644 --- a/atk-adaptor/event.c +++ b/atk-adaptor/event.c @@ -398,10 +398,10 @@ signal_is_needed (AtkObject *obj, const gchar *klass, const gchar *major, * this instead, so that we don't send these if no one is listening */ if (!g_strcmp0 (data [1], "ChildrenChanged") || ((!g_strcmp0 (data [1], "PropertyChange")) && - (!g_strcmp0 (data [2], "accessible-name") || - !g_strcmp0 (data [2], "accessible-description") || - !g_strcmp0 (data [2], "accessible-parent") || - !g_strcmp0 (data [2], "accessible-role"))) || + (!g_strcmp0 (data [2], "AccessibleName") || + !g_strcmp0 (data [2], "AccessibleDescription") || + !g_strcmp0 (data [2], "AccessibleParent") || + !g_strcmp0 (data [2], "AccessibleRole"))) || !g_strcmp0 (data [1], "StateChanged")) { if (minor && !g_strcmp0 (minor, "defunct"))