aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaganath Kanakkassery <jaganath.k@samsung.com>2012-08-16 18:21:19 +0530
committerJohan Hedberg <johan.hedberg@intel.com>2012-08-16 22:00:28 +0300
commit7bd62260091525417474dd6585bb639af7c3af6f (patch)
treeeee3ee40d1b5c608cb7099554264c7a7b730b9fc
parentfe147149eeb8bb2af04ee05c25267605f136160c (diff)
downloadobexd-7bd62260091525417474dd6585bb639af7c3af6f.tar.gz
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.
-rw-r--r--gdbus/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 900e7ab..9689006 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;
}