Skip to content

gnome-code-assistance: Fix options dict building

I copied the line "g_variant_new ("a{sv}", 0);" into libportal and it led to an error message: Bail out! GLib:ERROR:../glib/gvarianttypeinfo.c:164:g_variant_type_info_check: assertion failed: (info->alignment == 0 || info->alignment == 1 || info->alignment == 3 || info->alignment == 7)

So I assume it's wrong here too. I also don't know why G_VARIANT_TYPE_ARRAY is being used, seems like it should be G_VARIANT_TYPE_VARDICT.

Merge request reports