[gtk+/client-side-windows] Fix win32 GC set_region handling of reset_region



commit 593d5441d435f34d53f4588ab7f3d3c682d8efd4
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Jul 1 12:06:04 2009 +0200

    Fix win32 GC set_region handling of reset_region

 gdk/win32/gdkgc-win32.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c
index d1e2909..c4e234f 100644
--- a/gdk/win32/gdkgc-win32.c
+++ b/gdk/win32/gdkgc-win32.c
@@ -598,12 +598,11 @@ _gdk_windowing_gc_set_clip_region (GdkGC           *gc,
     }
 
   if (reset_origin)
-  {
-	  gc->clip_x_origin = 0;
-	  gc->clip_y_origin = 0;
-  }
-
-  win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
+    {
+      gc->clip_x_origin = 0;
+      gc->clip_y_origin = 0;
+      win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
+    }
 }
 
 void



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