[atk] Using abstract atk_object_get_name to check accessible-name notification
- From: Alejandro PiÃeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] Using abstract atk_object_get_name to check accessible-name notification
- Date: Tue, 6 Mar 2012 00:11:35 +0000 (UTC)
commit 7ebaa51b17fbca385d9d1f3dd026bd4770852d9b
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date: Mon Feb 27 00:50:32 2012 +0100
Using abstract atk_object_get_name to check accessible-name notification
atk/atkobject.c | 2 +-
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]