Merge branch 'clear-settings-portal-gtk-4-16' into 'gtk-4-16'

wayland: Clear settings_portal when going to fallback with no portal settings

See merge request GNOME/gtk!7759
This commit is contained in:
Matthias Clasen 2024-09-29 13:25:02 +00:00
commit b0048df3c6

View File

@ -1994,6 +1994,7 @@ init_settings (GdkDisplay *display)
g_debug ("Received no portal settings");
g_clear_pointer (&iter, g_variant_iter_free);
g_clear_pointer (&ret, g_variant_unref);
g_clear_object (&display_wayland->settings_portal);
goto fallback;
}