Mercurial > hg > forks > geeqie
changeset 2151:cdeee46ed21c
Remove commented out code.
author | Laurent Monin <zas@norz.org> |
---|---|
date | Thu, 30 Aug 2012 15:53:28 +0200 |
parents | dce3876ec42f |
children | 03785f84c0bd |
files | src/collect.c |
diffstat | 1 files changed, 0 insertions(+), 47 deletions(-) [+] |
line wrap: on
line diff
--- a/src/collect.c Thu Aug 30 15:53:28 2012 +0200 +++ b/src/collect.c Thu Aug 30 15:53:28 2012 +0200 @@ -102,14 +102,6 @@ log_printf("collection_info_load_thumb not implemented!\n(because an instant thumb loader not implemented)"); return FALSE; -#if 0 - if (create_thumbnail(ci->fd->path, &ci->pixmap, &ci->mask) < 0) return FALSE; - - if (ci->pixmap) gdk_pixmap_ref(ci->pixmap); - if (ci->mask) gdk_bitmap_ref(ci->mask); - - return TRUE; -#endif } void collection_list_free(GList *list) @@ -254,38 +246,6 @@ return NULL; } -#if 0 -static GList *collection_list_find_link(GList *list, gchar *path) -{ - GList *work = list; - - while (work) - { - CollectInfo *ci = work->data; - if (strcmp(ci->fd->path, path) == 0) return work; - work = work->next; - } - - return NULL; -} - -static gint collection_list_find_index(GList *list, gchar *path) -{ - gint c = 0; - GList *work = list; - - while (work) - { - CollectInfo *ci = work->data; - if (strcmp(ci->fd->path, path) == 0) return c; - work = work->next; - c++; - } - - return -1; -} -#endif - GList *collection_list_to_filelist(GList *list) { GList *filelist = NULL; @@ -1026,13 +986,6 @@ if (!cw) return; } -#if 0 -static void collection_window_move(CollectWindow *cw, CollectInfo *ci) -{ - if (!cw) return; -} -#endif - static void collection_window_remove(CollectWindow *cw, CollectInfo *ci) { if (!cw) return;