Skip to content

gtk_file_chooser_get_filter Make gtk_file_chooser_get_filter work for the non-portal GtkFileChooserNative (issue #1820)

This makes gtk_file_chooser_get_filter work for the fallback GtkFileChooserNative dialog.

This merge request makes the non-portal/fallback case work, e.g. running the sample program from #1820 (closed) with environment variable GTK_USE_PORTAL=0 (or unset).

(I also plan to submit a follow-up merge request for the portal case, but that will require changes to xdg-desktop-portal and xdg-desktop-portal-gtk as well. With only this change here in place, the portal case always returns "PNG" instead of NULL for the sample program, while the fallback dialog works just fine.)

Merge request reports

Loading