Merge branch 'color-picker-portal' into 'main'

colorpicker: Always try the portal first

See merge request GNOME/gtk!5240
This commit is contained in:
Matthias Clasen 2022-11-21 19:46:17 +00:00
commit 055f3e5d97

View File

@ -53,9 +53,6 @@ gtk_color_picker_portal_initable_init (GInitable *initable,
GVariant *ret; GVariant *ret;
guint version = 0; guint version = 0;
if (!gdk_should_use_portal ())
return FALSE;
picker->portal_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION, picker->portal_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
G_DBUS_PROXY_FLAGS_NONE, G_DBUS_PROXY_FLAGS_NONE,
NULL, NULL,