projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compile-time warnings
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
adaptors
/
accessible-adaptor.c
diff --git
a/atk-adaptor/adaptors/accessible-adaptor.c
b/atk-adaptor/adaptors/accessible-adaptor.c
index
ec21fc3
..
25d7823
100644
(file)
--- a/
atk-adaptor/adaptors/accessible-adaptor.c
+++ b/
atk-adaptor/adaptors/accessible-adaptor.c
@@
-328,7
+328,6
@@
impl_GetRelationSet (DBusConnection * bus,
for (j = 0; j < target->len; j++)
{
AtkObject *obj = target->pdata[j];
for (j = 0; j < target->len; j++)
{
AtkObject *obj = target->pdata[j];
- char *path;
if (!obj)
continue;
spi_object_append_reference (&iter_targets, obj);
if (!obj)
continue;
spi_object_append_reference (&iter_targets, obj);
@@
-363,15
+362,6
@@
impl_GetRole (DBusConnection * bus, DBusMessage * message, void *user_data)
return reply;
}
return reply;
}
-static char *
-impl_get_role_str (void *datum)
-{
- g_return_val_if_fail (ATK_IS_OBJECT (datum), g_strdup (""));
- return g_strdup_printf ("%d",
- spi_accessible_role_from_atk_role
- (atk_object_get_role ((AtkObject *) datum)));
-}
-
static DBusMessage *
impl_GetRoleName (DBusConnection * bus,
DBusMessage * message, void *user_data)
static DBusMessage *
impl_GetRoleName (DBusConnection * bus,
DBusMessage * message, void *user_data)