Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filechooser: Fix crash when opening a file chooser with single filter set #448

Merged
merged 1 commit into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. 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.
    sidt4 authored and GeorgesStavracas committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    ec51bea View commit details
    Browse the repository at this point in the history