mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
wayland: Clear settings_portal when going to fallback with no portal settings
All other code paths with goto fallback clear it, this makes the behavior consistent with them
This commit is contained in:
parent
630699fb68
commit
5670fea30d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user