projects
/
browser-dbus-bridge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8387e20
)
[tests] Enable structs inside arrays for unit test
author
Kalle Vahlman
<kalle.vahlman@movial.com>
Thu, 23 Apr 2009 06:29:13 +0000
(09:29 +0300)
committer
Kalle Vahlman
<kalle.vahlman@movial.com>
Thu, 23 Apr 2009 06:29:13 +0000
(09:29 +0300)
tests/unit.c
patch
|
blob
|
history
diff --git
a/tests/unit.c
b/tests/unit.c
index 8076ca9406415d7a530fef52cf38f823b0d4473c..cecd5c482ac7edb63eb11dc523c44e0b56fe9864 100644
(file)
--- a/
tests/unit.c
+++ b/
tests/unit.c
@@
-145,7
+145,7
@@
u_transfer_array(DBusMessageIter *to_iter, DBusMessageIter *from_iter)
return u_transfer_dict(to_iter, from_iter);
break;
case DBUS_TYPE_STRUCT:
-
g_warning("Element type '%c' in arrays not supported", elem_type
);
+
u_transfer_struct(to_iter, from_iter
);
break;
default:
sig = g_strdup_printf("%c", dbus_message_iter_get_element_type(from_iter));