]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Queue a redraw instead of a resize when inverted colors changes
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 30 Nov 2009 17:45:50 +0000 (18:45 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 30 Nov 2009 17:45:50 +0000 (18:45 +0100)
libview/ev-view.c

index f9c2e3a1d83b2e1e200321f96358ff3050300a15..97ff001329284d5cc066e8a8883ceb43a5d1f893 100644 (file)
@@ -5264,7 +5264,7 @@ ev_view_inverted_colors_changed_cb (EvDocumentModel *model,
 
                inverted_colors = ev_document_model_get_inverted_colors (model);
                ev_pixbuf_cache_set_inverted_colors (view->pixbuf_cache, inverted_colors);
-               gtk_widget_queue_resize (GTK_WIDGET (view));
+               gtk_widget_queue_draw (GTK_WIDGET (view));
        }
 }