]> www.fi.muni.cz Git - evince.git/commitdiff
libview: Set redraw_on_allocate to FALSE since we handle our own redrawing
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 1 Nov 2010 09:43:07 +0000 (10:43 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 7 Nov 2010 09:26:09 +0000 (10:26 +0100)
libview/ev-view.c

index d0fdb10c3673ade5655518e69bfd946a2b7fad68..bdf738f86b5e8cbc986ca0f5fa671a6d0d130d58 100644 (file)
@@ -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 |