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:
bae1223
)
Fix for BGO#648130: event host_application should return NULL for the desktop
author
Mike Gorse
<mgorse@novell.com>
Mon, 18 Apr 2011 16:44:28 +0000
(11:44 -0500)
committer
Mike Gorse
<mgorse@novell.com>
Mon, 18 Apr 2011 16:44:28 +0000
(11:44 -0500)
atspi/atspi-accessible.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-accessible.c
b/atspi/atspi-accessible.c
index
9f01868
..
d163d68
100644
(file)
--- a/
atspi/atspi-accessible.c
+++ b/
atspi/atspi-accessible.c
@@
-726,6
+726,11
@@
atspi_accessible_get_application (AtspiAccessible *obj, GError **error)
if (root)
{
g_object_unref (obj);
+ if (atspi_accessible_get_role (root, NULL) == ATSPI_ROLE_DESKTOP_FRAME)
+ {
+ g_object_unref (root);
+ return NULL;
+ }
return root;
}
}