Skip to content

Check for attributes being available before querying them

Emmanuele Bassi requested to merge ebassi/file-info-attributes into main

GLib 2.75 started checking if a GFileInfo was created with the attribute we're querying, instead of failing silently and leaving us in an inconsistent state.

Turns out that GtkFileChooserWidget, GtkFileSystemModel, and GtkPathBar trip the newly introduced check.

Merge request reports