diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-04-25 13:00:18 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-04-25 13:00:18 +0000 |
commit | 03df0ffb9a8cb50289d8ec6e4dfdffb375481601 (patch) | |
tree | 64dfb6a65c43b5178c9353b783acc7fef985eae6 | |
parent | 601e16bf2f6677cf1a7d3fd12dcb127923e216b4 (diff) |
Add support of DBUS_TYPE_OBJECT_PATH to dbus_message_iter_append_variant.
-rw-r--r-- | common/dbus-helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |