Mercurial > geeqie
diff src/filefilter.c @ 1423:6933974f0885
Make ishidden() static to filedata.c and rename it is_hidden_file().
author | zas_ |
---|---|
date | Thu, 12 Mar 2009 22:39:06 +0000 |
parents | 15208b140481 |
children | 0061979f7f6d |
line wrap: on
line diff
--- a/src/filefilter.c Thu Mar 12 22:35:45 2009 +0000 +++ b/src/filefilter.c Thu Mar 12 22:39:06 2009 +0000 @@ -37,13 +37,6 @@ static GList *file_sidecar_list = NULL; /* files with allowed sidecar */ -gint ishidden(const gchar *name) -{ - if (name[0] != '.') return FALSE; - if (name[1] == '\0' || (name[1] == '.' && name[2] == '\0')) return FALSE; - return TRUE; -} - static FilterEntry *filter_entry_new(const gchar *key, const gchar *description, const gchar *extensions, FileFormatClass file_class, gboolean writable, gboolean allow_sidecar, gboolean enabled)