Hello. Let' s assume we have GVariant of type (ia{sv}av).
It will be correct to parse it by following:
int integer;
Variant dict; /* dict must be type a{sv} */
Variant array; /* array must be type av */
g_variant_get(variant,"ivv",&integer,&dict,&array);

?
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to