# HG changeset patch # User zas_ # Date 1209827595 0 # Node ID 544958ddd70efc7d7ff7f7a322571e839d4ad8d7 # Parent 977b9bbd0e9be55c5496c04c8edc0cdfa9cf6c63 Rename thumbs_fd to thumbs_filedata in ViewFileIcon struct to match the name used in ViewFileList. diff -r 977b9bbd0e9b -r 544958ddd70e src/typedefs.h --- a/src/typedefs.h Sat May 03 15:09:21 2008 +0000 +++ b/src/typedefs.h Sat May 03 15:13:15 2008 +0000 @@ -709,7 +709,7 @@ gint thumbs_running; gint thumbs_count; ThumbLoader *thumbs_loader; - FileData *thumbs_fd; + FileData *thumbs_filedata; }; struct _ViewFileIcon @@ -750,7 +750,7 @@ gint thumbs_running; gint thumbs_count; ThumbLoader *thumbs_loader; - FileData *thumbs_fd; + FileData *thumbs_filedata; /* func list */ void (*func_thumb_status)(ViewFileIcon *vfi, gdouble val, const gchar *text, gpointer data); diff -r 977b9bbd0e9b -r 544958ddd70e src/view_file_icon.c --- a/src/view_file_icon.c Sat May 03 15:09:21 2008 +0000 +++ b/src/view_file_icon.c Sat May 03 15:13:15 2008 +0000 @@ -1891,7 +1891,7 @@ thumb_loader_free(vfi->thumbs_loader); vfi->thumbs_loader = NULL; - vfi->thumbs_fd = NULL; + vfi->thumbs_filedata = NULL; } static void vficon_thumb_stop(ViewFileIcon *vfi) @@ -1916,9 +1916,9 @@ { ViewFileIcon *vfi = data; - if (vfi->thumbs_fd && vfi->thumbs_loader == tl) + if (vfi->thumbs_filedata && vfi->thumbs_loader == tl) { - vficon_thumb_do(vfi, tl, vfi->thumbs_fd); + vficon_thumb_do(vfi, tl, vfi->thumbs_filedata); } while (vficon_thumb_next(vfi)); @@ -1928,9 +1928,9 @@ { ViewFileIcon *vfi = data; - if (vfi->thumbs_fd && vfi->thumbs_loader == tl) + if (vfi->thumbs_filedata && vfi->thumbs_loader == tl) { - vficon_thumb_do(vfi, tl, vfi->thumbs_fd); + vficon_thumb_do(vfi, tl, vfi->thumbs_filedata); } while (vficon_thumb_next(vfi)); @@ -1998,7 +1998,7 @@ vfi->thumbs_count++; - vfi->thumbs_fd = fd; + vfi->thumbs_filedata = fd; thumb_loader_free(vfi->thumbs_loader); @@ -2697,7 +2697,7 @@ } /* Thumb loader check */ - if (fd == vfi->thumbs_fd) vfi->thumbs_fd = NULL; + if (fd == vfi->thumbs_filedata) vfi->thumbs_filedata = NULL; if (vfi->thumbs_count > 0) vfi->thumbs_count--; if (vfi->prev_selection == id) vfi->prev_selection = NULL;