forked from AuroraMiddleware/gtk
Merge branch 'color-picker-portal' into 'main'
colorpicker: Always try the portal first See merge request GNOME/gtk!5240
This commit is contained in:
commit
055f3e5d97
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user