Mercurial > geeqie.yaz
diff src/view_file_list.c @ 559:c0e47b628f76
Drop redundant vflist_thumbs_set() introduced in revision 649,
modify and use existing vflist_thumb_set().
author | zas_ |
---|---|
date | Sat, 03 May 2008 12:48:45 +0000 |
parents | d8d61dc4ff52 |
children | 2996f1bbc305 |
line wrap: on
line diff
--- a/src/view_file_list.c Sat May 03 12:21:22 2008 +0000 +++ b/src/view_file_list.c Sat May 03 12:48:45 2008 +0000 @@ -1983,11 +1983,6 @@ g_free(vfl); } -void vflist_thumbs_set(ViewFileList *vfl, gint enabled) -{ - vfl->thumbs_enabled = enabled; -} - ViewFileList *vflist_new(const gchar *path) { ViewFileList *vfl; @@ -2096,7 +2091,7 @@ if (vfl->thumbs_enabled == enable) return; vfl->thumbs_enabled = enable; - vflist_refresh(vfl); + if (vfl->layout) vflist_refresh(vfl); } void vflist_marks_set(ViewFileList *vfl, gint enable)