From 7ebaa51b17fbca385d9d1f3dd026bd4770852d9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Mon, 27 Feb 2012 00:50:32 +0100 Subject: [PATCH] Using abstract atk_object_get_name to check accessible-name notification --- atk/atkobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4