summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2014-06-19 11:13:57 +1000
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-25 12:40:09 -0400
commitc1ff79e2e66ff552b061f3a5e71c308f68980866 (patch)
tree653965dd75c5e9ff3792f184eb6383436c2ee70f /gtk2_ardour/utils.cc
parent3f776ce7d9f0f5610b1c7adecefe57fc63cd0b33 (diff)
GLib functions for listing directory contents don't include "." or ".." entries
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc6
1 files changed, 0 insertions, 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)) {