[at-spi2-core] Fix a crash introduced in last commit
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix a crash introduced in last commit
- Date: Mon, 18 Apr 2011 16:33:59 +0000 (UTC)
commit bae12236d35ba6da1506a4c33094cd6b91d38e22
Author: Mike Gorse <mgorse novell com>
Date: Mon Apr 18 11:33:51 2011 -0500
Fix a crash introduced in last commit
atspi/atspi-accessible.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index 86f47d8..9f01868 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -719,7 +719,7 @@ atspi_accessible_get_application (AtspiAccessible *obj, GError **error)
for (;;)
{
parent = atspi_accessible_get_parent (obj, NULL);
- if (!parent &&
+ if (!parent && obj->parent.app &&
atspi_accessible_get_role (obj, NULL) != ATSPI_ROLE_APPLICATION)
{
AtspiAccessible *root = g_object_ref (obj->parent.app->root);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]