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
Define -DG_DISABLE_DEPRECATED, and remove deprecated glib symbol
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
adaptors
/
component-adaptor.c
diff --git
a/atk-adaptor/adaptors/component-adaptor.c
b/atk-adaptor/adaptors/component-adaptor.c
index
2b86e94
..
5be3b54
100644
(file)
--- a/
atk-adaptor/adaptors/component-adaptor.c
+++ b/
atk-adaptor/adaptors/component-adaptor.c
@@
-67,6
+67,7
@@
impl_GetAccessibleAtPoint (DBusConnection * bus, DBusMessage * message,
AtkComponent *component = (AtkComponent *) user_data;
dbus_int32_t x, y;
dbus_uint32_t coord_type;
AtkComponent *component = (AtkComponent *) user_data;
dbus_int32_t x, y;
dbus_uint32_t coord_type;
+ DBusMessage *reply;
DBusError error;
AtkObject *child;
DBusError error;
AtkObject *child;
@@
-83,7
+84,10
@@
impl_GetAccessibleAtPoint (DBusConnection * bus, DBusMessage * message,
child =
atk_component_ref_accessible_at_point (component, x, y,
(AtkCoordType) coord_type);
child =
atk_component_ref_accessible_at_point (component, x, y,
(AtkCoordType) coord_type);
- return spi_object_return_reference (message, child);
+ reply = spi_object_return_reference (message, child);
+ g_object_unref (child);
+
+ return reply;
}
static DBusMessage *
}
static DBusMessage *