summaryrefslogtreecommitdiffstats
path: root/gdbus/object.c
diff options
context:
space:
mode:
authorJaganath Kanakkassery <jaganath.k@samsung.com>2012-08-16 18:21:19 +0530
committerMarcel Holtmann <marcel@holtmann.org>2012-08-27 17:28:42 -0700
commitc1cea66a5eaf008376decb9d54b5a6f22189fce4 (patch)
treedf2ea43dcdcdc3ac814114ba0e3991f9b2930ceb /gdbus/object.c
parent90c7bdfc8da43c6ae07f9f6b50ff166c99de474e (diff)
downloadofono-c1cea66a5eaf008376decb9d54b5a6f22189fce4.tar.bz2
gdbus: Fix compilation error if macro "error" is defined
The variable "signature" used in error is not defined and "args" is now a struct instead of a string.
Diffstat (limited to 'gdbus/object.c')
-rw-r--r--gdbus/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 900e7aba..96890064 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -645,8 +645,8 @@ static dbus_bool_t emit_signal_valist(DBusConnection *conn,
goto fail;
if (g_dbus_args_have_signature(args, signal) == FALSE) {
- error("%s.%s: expected signature'%s' but got '%s'",
- interface, name, args, signature);
+ error("%s.%s: got unexpected signature '%s'", interface, name,
+ dbus_message_get_signature(signal));
ret = FALSE;
goto fail;
}