From 7bb2c88963ae389d2f37fb85cfb766b26f56aa2b Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 19 Jun 2014 11:13:57 +1000 Subject: [PATCH] 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)) {