[evince] libview: Set redraw_on_allocate to FALSE since we handle our own redrawing
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] libview: Set redraw_on_allocate to FALSE since we handle our own redrawing
- Date: Sun, 7 Nov 2010 09:30:59 +0000 (UTC)
commit 032bcdd3c1d1fd84fdd8414ef661103be36cfe9c
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Nov 1 10:43:07 2010 +0100
libview: Set redraw_on_allocate to FALSE since we handle our own redrawing
libview/ev-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index d0fdb10..bdf738f 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4800,6 +4800,8 @@ ev_view_init (EvView *view)
{
gtk_widget_set_has_window (GTK_WIDGET (view), TRUE);
gtk_widget_set_can_focus (GTK_WIDGET (view), TRUE);
+ gtk_widget_set_redraw_on_allocate (GTK_WIDGET (view), FALSE);
+ gtk_container_set_resize_mode (GTK_CONTAINER (view), GTK_RESIZE_QUEUE);
gtk_widget_set_events (GTK_WIDGET (view),
GDK_EXPOSURE_MASK |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]