Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filechooser: Fix crash when opening a file chooser with single filter…
… set 'gtk_file_filter_new_from_gvariant()' returns a 'GtkFileFilter' which is a floating reference in GTK3. Since the portal is taking ownership of the file filter through 'g_autoptr', we call 'g_object_ref_sink()' unconditionally when creating the filter instance.
- Loading branch information