From: Carlos Garcia Campos Date: Mon, 1 Nov 2010 09:43:07 +0000 (+0100) Subject: libview: Set redraw_on_allocate to FALSE since we handle our own redrawing X-Git-Tag: EVINCE_2_91_2~4 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=032bcdd3c1d1fd84fdd8414ef661103be36cfe9c;p=evince.git libview: Set redraw_on_allocate to FALSE since we handle our own redrawing --- diff --git a/libview/ev-view.c b/libview/ev-view.c index d0fdb10c..bdf738f8 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 |