Fix incompatibility with glibmm 2.50 (#3440)

Kudos to @Hombre57 for the suggestion.
This commit is contained in:
Flössie 2016-10-01 12:38:24 +02:00
parent f08af8a638
commit ca0afa8d5f

View File

@ -59,7 +59,7 @@ std::vector<Glib::ustring> listSubDirs (const Glib::RefPtr<Gio::File>& dir, bool
} catch (const Glib::Exception& exception) {
if (options.rtSettings.verbose) {
std::cerr << "Failed to list subdirectories of \"" << dir << "\": " << exception.what () << std::endl;
std::cerr << "Failed to list subdirectories of \"" << dir->get_basename() << "\": " << exception.what () << std::endl;
}
}