diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-pixbuf-cache.c | 1 | ||||
-rw-r--r-- | shell/ev-view.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 1d0c528..630bdde 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -887,6 +887,7 @@ static void clear_job_selection (CacheJobInfo *job_info) { job_info->points_set = FALSE; + job_info->selection_points.x1 = -1; if (job_info->selection) { g_object_unref (job_info->selection); diff --git a/shell/ev-view.c b/shell/ev-view.c index a7bae3d..d83f572 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -4375,6 +4375,8 @@ clear_selection (EvView *view) g_list_foreach (view->selection_info.selections, (GFunc)selection_free, NULL); view->selection_info.selections = NULL; view->selection_info.in_selection = FALSE; + if (view->pixbuf_cache) + ev_pixbuf_cache_set_selection_list (view->pixbuf_cache, NULL); g_object_notify (G_OBJECT (view), "has-selection"); } |