summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2012-02-27 00:50:32 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2012-03-06 01:08:14 +0100
commit7ebaa51b17fbca385d9d1f3dd026bd4770852d9b (patch)
treec5daa04a4245cf060764ae8bfd55e532b632e98d
parentad71ccc1115c452432cb4c8a45cf3a76d9db7f56 (diff)
downloadatk-7ebaa51b17fbca385d9d1f3dd026bd4770852d9b.tar.gz
Using abstract atk_object_get_name to check accessible-name notification
-rwxr-xr-xatk/atkobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 251ae6b..4c1b359 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -1015,7 +1015,7 @@ atk_object_set_name (AtkObject *accessible,
if (klass->set_name)
{
/* Do not notify for initial name setting. See bug 665870 */
- notify = (accessible->name != NULL);
+ notify = (atk_object_get_name (accessible) != NULL);
(klass->set_name) (accessible, name);
if (notify)