projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830e837
)
Add another NULL-app check for get_parent
author
Mike Gorse
<mgorse@novell.com>
Tue, 4 Jan 2011 19:11:50 +0000
(13:11 -0600)
committer
Mike Gorse
<mgorse@novell.com>
Tue, 4 Jan 2011 19:11:50 +0000
(13:11 -0600)
atspi/atspi-accessible.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-accessible.c
b/atspi/atspi-accessible.c
index
aa31965
..
11cfd8b
100644
(file)
--- a/
atspi/atspi-accessible.c
+++ b/
atspi/atspi-accessible.c
@@
-359,7
+359,7
@@
atspi_accessible_get_parent (AtspiAccessible *obj, GError **error)
{
g_return_val_if_fail (obj != NULL, NULL);
- if (!(obj->cached_properties & ATSPI_CACHE_PARENT))
+ if (
obj->parent.app &&
!(obj->cached_properties & ATSPI_CACHE_PARENT))
{
DBusMessage *message, *reply;
DBusMessageIter iter, iter_variant;