diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-01-05 17:01:03 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-01-05 17:01:03 (GMT) |
commit | 8299bdbd47137ab0304bff2dc62d7ea6f3a1cb87 (patch) | |
tree | d0627c9a0bce1aaf49851743d9f3a2a3913c498f /shell/ev-view.c | |
parent | 0f02f02064f279bfdeb27ffa675cffae9fbc6383 (diff) |
Clear selection also in pixbuf cache.
2007-01-05 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (clear_job_selection):
* shell/ev-view.c: (clear_selection):
Clear selection also in pixbuf cache.
svn path=/trunk/; revision=2189
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r-- | shell/ev-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); } |