diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-11-30 17:45:50 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-11-30 17:45:50 (GMT) |
commit | 470da44057ddaf67b1a1ef6254851e288537609e (patch) | |
tree | d3a8246eb9b00ed0825b10cd0365062bf7da3031 | |
parent | 84aeb02284d2abaea4b3361879bb621a1a3782f5 (diff) |
[libview] Queue a redraw instead of a resize when inverted colors changes
-rw-r--r-- | libview/ev-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index f9c2e3a..97ff001 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)); } } |