gint thumbs_running;
gint thumbs_count;
ThumbLoader *thumbs_loader;
- FileData *thumbs_fd;
+ FileData *thumbs_filedata;
};
struct _ViewFileIcon
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);
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)
{
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));
{
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));
vfi->thumbs_count++;
- vfi->thumbs_fd = fd;
+ vfi->thumbs_filedata = fd;
thumb_loader_free(vfi->thumbs_loader);
}
/* 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;