Revert "Using abstract atk_object_get_name to check accessible-name notification"
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 7 Mar 2012 12:13:22 +0000 (13:13 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 7 Mar 2012 12:13:22 +0000 (13:13 +0100)
See firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=733712

This reverts commit 7ebaa51b17fbca385d9d1f3dd026bd4770852d9b.

atk/atkobject.c

index 4c1b359..251ae6b 100755 (executable)
@@ -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 = (atk_object_get_name (accessible) != NULL);
+      notify = (accessible->name != NULL);
 
       (klass->set_name) (accessible, name);
       if (notify)