[tests] Enable structs inside arrays for unit test
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 06:29:13 +0000 (09:29 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 06:29:13 +0000 (09:29 +0300)
tests/unit.c

index 8076ca9406415d7a530fef52cf38f823b0d4473c..cecd5c482ac7edb63eb11dc523c44e0b56fe9864 100644 (file)
@@ -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));