From 03df0ffb9a8cb50289d8ec6e4dfdffb375481601 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 25 Apr 2008 13:00:18 +0000 Subject: Add support of DBUS_TYPE_OBJECT_PATH to dbus_message_iter_append_variant. --- common/dbus-helper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/dbus-helper.c b/common/dbus-helper.c index e6211824..a7604f65 100644 --- a/common/dbus-helper.c +++ b/common/dbus-helper.c @@ -446,6 +446,9 @@ void dbus_message_iter_append_variant(DBusMessageIter *iter, int type, void *val case DBUS_TYPE_ARRAY: sig = DBUS_TYPE_ARRAY_AS_STRING DBUS_TYPE_STRING_AS_STRING; break; + case DBUS_TYPE_OBJECT_PATH: + sig = DBUS_TYPE_OBJECT_PATH_AS_STRING; + break; default: error("Could not append variant with type %d", type); return; -- cgit