Hi Marcel,
>
> dbus_message_iter_append_basic(&entry, DBUS_TYPE_STRING,
> &(val_array[i + 0]));
> - dbus_message_iter_append_basic(&entry, type,
> - &(val_array[i + 1]));
> + if (type == DBUS_TYPE_STRING) {
> + dbus_message_iter_append_basic(&entry, type,
> + &(val_array[i + 1]));
> + } else {
> + dbus_message_iter_append_basic(&entry, type,
> + val_array[i + 1]);
> + }
this does looks a bit hackish. Can you put it into context please. It
might be that our call chain is wrong.
We only ever needed (and thus ever added) support for string:string
dicts. E.g. ones that could be g_strfreev-ed. No other dicts were
supported by this function.
What Lucas wants is a dict{string,byte}
Regards,
-Denis