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
Ensure that DBus errors are freed
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
adaptors
/
value-adaptor.c
diff --git
a/atk-adaptor/adaptors/value-adaptor.c
b/atk-adaptor/adaptors/value-adaptor.c
index
89f29ff
..
cf51014
100644
(file)
--- a/
atk-adaptor/adaptors/value-adaptor.c
+++ b/
atk-adaptor/adaptors/value-adaptor.c
@@
-156,7
+156,6
@@
impl_SetCurrentValue (DBusConnection * bus, DBusMessage * message,
{
AtkValue *value = (AtkValue *) user_data;
dbus_bool_t rv;
{
AtkValue *value = (AtkValue *) user_data;
dbus_bool_t rv;
- DBusError error;
DBusMessage *reply;
gdouble dub = 0;
GValue new_value = { 0 };
DBusMessage *reply;
gdouble dub = 0;
GValue new_value = { 0 };
@@
-164,9
+163,8
@@
impl_SetCurrentValue (DBusConnection * bus, DBusMessage * message,
g_return_val_if_fail (ATK_IS_VALUE (value),
droute_not_yet_handled_error (message));
g_return_val_if_fail (ATK_IS_VALUE (value),
droute_not_yet_handled_error (message));
- dbus_error_init (&error);
if (!dbus_message_get_args
if (!dbus_message_get_args
- (message,
&error
, DBUS_TYPE_DOUBLE, &dub, DBUS_TYPE_INVALID))
+ (message,
NULL
, DBUS_TYPE_DOUBLE, &dub, DBUS_TYPE_INVALID))
{
return droute_invalid_arguments_error (message);
}
{
return droute_invalid_arguments_error (message);
}