From 470da44057ddaf67b1a1ef6254851e288537609e Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 30 Nov 2009 18:45:50 +0100 Subject: [PATCH] [libview] Queue a redraw instead of a resize when inverted colors changes --- libview/ev-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libview/ev-view.c b/libview/ev-view.c index f9c2e3a1..97ff0013 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -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)); } } -- 2.43.0