[evince] [libview] Queue a redraw instead of a resize when inverted colors changes
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [libview] Queue a redraw instead of a resize when inverted colors changes
- Date: Mon, 30 Nov 2009 17:46:58 +0000 (UTC)
commit 470da44057ddaf67b1a1ef6254851e288537609e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Nov 30 18:45:50 2009 +0100
[libview] Queue a redraw instead of a resize when inverted colors changes
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));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]