13
0

GLib functions for listing directory contents don't include "." or ".." entries

This commit is contained in:
Tim Mayberry 2014-06-19 11:13:57 +10:00 committed by Paul Davis
parent 3f776ce7d9
commit c1ff79e2e6

View File

@ -699,12 +699,6 @@ get_icon_sets ()
string d = *e;
/* ignore dotfiles, . and .. */
if (d.empty() || d[0] == '.') {
continue;
}
Glib::ustring path = Glib::build_filename (*s, *e);
if (Glib::file_test (path, Glib::FILE_TEST_IS_DIR)) {