[gthumb] revert change
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] revert change
- Date: Sun, 19 Sep 2010 15:32:58 +0000 (UTC)
commit 9b1d95baff89a244d24edefaa21bd6ceb923bd01
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Sep 19 12:26:09 2010 +0200
revert change
there is no speed gain in cancelling the job while scrolling
gthumb/gth-file-list.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index 86a454d..67d1628 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -476,26 +476,6 @@ static void
vadj_changed_cb (GtkAdjustment *adjustment,
gpointer user_data)
{
- GthFileList *file_list = user_data;
- GList *list;
- GList *scan;
-
- /* cancel the jobs relative to non-visible thumbnails */
-
- if (file_list->priv->update_event != 0) {
- g_source_remove (file_list->priv->update_event);
- file_list->priv->update_event = 0;
- }
-
- list = g_list_copy (file_list->priv->jobs);
- for (scan = list; scan; scan = scan->next) {
- ThumbnailJob *job = scan->data;
-
- if (gth_file_view_get_visibility (GTH_FILE_VIEW (file_list->priv->view), job->pos) == GTH_VISIBILITY_NONE)
- thumbnail_job_cancel (job);
- }
- g_list_free (list);
-
start_update_next_thumb (GTH_FILE_LIST (user_data));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]