projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f0f32b
)
Only check for plug if atkplug.h has been included
author
Mike Gorse
<mgorse@novell.com>
Fri, 11 Dec 2009 16:40:57 +0000
(11:40 -0500)
committer
Mike Gorse
<mgorse@novell.com>
Fri, 11 Dec 2009 16:41:41 +0000
(11:41 -0500)
atk-adaptor/accessible-marshaller.c
patch
|
blob
|
history
diff --git
a/atk-adaptor/accessible-marshaller.c
b/atk-adaptor/accessible-marshaller.c
index
92d1700
..
3646d60
100644
(file)
--- a/
atk-adaptor/accessible-marshaller.c
+++ b/
atk-adaptor/accessible-marshaller.c
@@
-272,7
+272,11
@@
spi_atk_append_accessible(AtkObject *obj, gpointer data)
if (parent == NULL)
{
/* TODO: Support getting parent of an AtkPlug */
+#ifdef __ATK_PLUG_H__
if (role != Accessibility_ROLE_APPLICATION && !ATK_IS_PLUG (obj))
+#else
+ if (role != Accessibility_ROLE_APPLICATION)
+#endif
path_parent = g_strdup (SPI_DBUS_PATH_NULL);
else
path_parent = atk_dbus_desktop_object_path ();