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
+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.
+
2007-01-02 Luca Ferretti <elle.uca@libero.it>
* data/evince.desktop.in.in:
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);
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");
}