if (!tl) return;
- tv = tl->data;
+ tv = static_cast<ThumbValidate *>(tl->data);
if (tv->idle_id)
{
tv->idle_id = 0;
thumb_loader_std_thumb_file_validate_finish(tv, FALSE);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
ThumbLoaderStd *thumb_loader_std_thumb_file_validate(const gchar *thumb_path, gint allowed_days,
TMaintMove *tm;
gchar *pathl;
- if (!thumb_std_maint_move_list) return FALSE;
+ if (!thumb_std_maint_move_list) return G_SOURCE_REMOVE;
- tm = thumb_std_maint_move_list->data;
+ tm = static_cast<TMaintMove *>(thumb_std_maint_move_list->data);
thumb_std_maint_move_list = g_list_remove(thumb_std_maint_move_list, tm);
if (!thumb_std_maint_move_list) thumb_std_maint_move_tail = NULL;
thumb_std_maint_move_step(tm);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
/* This will schedule a move of the thumbnail for source image to dest when idle.