From: Carlos Garcia Campos Date: Mon, 30 Nov 2009 17:45:50 +0000 (+0100) Subject: [libview] Queue a redraw instead of a resize when inverted colors changes X-Git-Tag: EVINCE_2_29_3~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=470da44057ddaf67b1a1ef6254851e288537609e;p=evince.git [libview] Queue a redraw instead of a resize when inverted colors changes --- 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)); } }