[gthumb: 7/129] image viewer: invalidate only the viewer window



commit d3e6d372c93aaab6f370db0b3381aa499e33bce5
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 14 16:45:08 2011 +0200

    image viewer: invalidate only the viewer window

 gthumb/gth-image-viewer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-image-viewer.c b/gthumb/gth-image-viewer.c
index 07c6497..e1d75d6 100644
--- a/gthumb/gth-image-viewer.c
+++ b/gthumb/gth-image-viewer.c
@@ -886,8 +886,8 @@ scroll_to (GthImageViewer *self,
 		area.y = 0;
 		area.width = allocation.width;
 		area.height = allocation.height;
-		gdk_window_invalidate_rect (drawable, &area, TRUE);
-		gdk_window_process_updates (drawable, TRUE);
+		gdk_window_invalidate_rect (drawable, &area, FALSE);
+		gdk_window_process_updates (drawable, FALSE);
 
 		return;
 	}
@@ -928,7 +928,7 @@ scroll_to (GthImageViewer *self,
 		area.height = gdk_height;
 		gdk_region_union_with_rect (region, &area);
 
-		gdk_window_invalidate_region (drawable, region, TRUE);
+		gdk_window_invalidate_region (drawable, region, FALSE);
 
 		gdk_region_destroy (region);
 	}



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