From c1ff79e2e66ff552b061f3a5e71c308f68980866 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 19 Jun 2014 11:13:57 +1000 Subject: GLib functions for listing directory contents don't include "." or ".." entries --- gtk2_ardour/utils.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index e749d519dc..82397a325d 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -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)) { -- cgit v1.2.3