summaryrefslogtreecommitdiff
path: root/src/nautilus-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-application.c')
-rw-r--r--src/nautilus-application.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index b2e8156df..cf340dedf 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1051,8 +1051,12 @@ nautilus_application_startup (GApplication *app)
* it during the chain-up. */
g_autoptr (GError) error = NULL;
+ /* gtk_disable_portal_interfaces() (used when passing a non-NULL interface
+ * list here) crashes inside gtk_init_check() on GTK 4.22.3 due to an
+ * upstream GTK bug; gtk_disable_portals() (the NULL/"disable all" path)
+ * does not. Disable all portals until that GTK bug is fixed. */
gxdp_init_gtk (GXDP_SERVICE_CLIENT_TYPE_FILE_CHOOSER,
- (const char *[]) { "org.freedesktop.portal.FileChooser", NULL },
+ NULL,
&error);
/* Remove environment variable that disables libadwaita portal use until it
* is fixed in libgxdp */