Remove useless thumbs_list from ViewFileIcon.
authorLaurent Monin <geeqie@norz.org>
Sat, 3 May 2008 15:09:21 +0000 (15:09 +0000)
committerLaurent Monin <geeqie@norz.org>
Sat, 3 May 2008 15:09:21 +0000 (15:09 +0000)
src/typedefs.h
src/view_file_icon.c

index 074dc9e..71135c4 100644 (file)
@@ -707,7 +707,6 @@ struct _ViewFileInfoIcon
 
        /* thumbs */
        gint thumbs_running;
-       GList *thumbs_list;
        gint thumbs_count;
        ThumbLoader *thumbs_loader;
        FileData *thumbs_fd;
@@ -749,7 +748,6 @@ struct _ViewFileIcon
        /* thumbs */
 
        gint thumbs_running;
-       GList *thumbs_list;
        gint thumbs_count;
        ThumbLoader *thumbs_loader;
        FileData *thumbs_fd;
index cc7fc7f..466a53f 100644 (file)
@@ -1885,8 +1885,6 @@ static void vficon_thumb_cleanup(ViewFileIcon *vfi)
 {
        vficon_thumb_status(vfi, 0.0, NULL);
 
-       g_list_free(vfi->thumbs_list);
-       vfi->thumbs_list = NULL;
        vfi->thumbs_count = 0;
        vfi->thumbs_running = FALSE;