diff options
author | Mike Gorse <mgorse@novell.com> | 2011-04-18 11:33:51 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-04-18 11:34:12 -0500 |
commit | bae12236d35ba6da1506a4c33094cd6b91d38e22 (patch) | |
tree | 69400b16132a82a14cc14a7dbaeb3422e7c9f106 | |
parent | f02d52b59aa78422479b2636603782360275ef1e (diff) | |
download | at-spi2-core-bae12236d35ba6da1506a4c33094cd6b91d38e22.tar.gz |
Fix a crash introduced in last commit
-rw-r--r-- | 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 86f47d85..9f01868f 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); |