[eog] Enable double-buffer in EogScrollView



commit f0410a55778e719da8f2b62f0e5060bb128f028e
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Aug 17 00:03:38 2010 +0300

    Enable double-buffer in EogScrollView
    
    Now that we rely on cairo, there is no reason to try to be über-smart.
    Enabling double-buffer fixes the flickering and the slowness with huge
    images.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=626795

 src/eog-scroll-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index f6bfdd8..c619a28 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -2420,8 +2420,6 @@ eog_scroll_view_init (EogScrollView *view)
 	priv->display = g_object_new (GTK_TYPE_DRAWING_AREA,
 				      "can-focus", TRUE,
 				      NULL);
-	/* We don't want to be double-buffered as we are SuperSmart(tm) */
-	gtk_widget_set_double_buffered (GTK_WIDGET (priv->display), FALSE);
 
 	gtk_widget_add_events (GTK_WIDGET (priv->display),
 			       GDK_EXPOSURE_MASK



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]