colorpicker: Always try the portal first
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Nov 2022 19:26:29 +0000 (14:26 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Nov 2022 19:26:29 +0000 (14:26 -0500)
It does not hurt., and going forward, we want to
prefer portals.

gtk/gtkcolorpickerportal.c

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