Fix win32 GC set_region handling of reset_region

This commit is contained in:
Alexander Larsson 2009-07-01 12:06:04 +02:00
parent 5341efd4d4
commit 593d5441d4

View File

@ -598,12 +598,11 @@ _gdk_windowing_gc_set_clip_region (GdkGC *gc,
} }
if (reset_origin) if (reset_origin)
{ {
gc->clip_x_origin = 0; gc->clip_x_origin = 0;
gc->clip_y_origin = 0; gc->clip_y_origin = 0;
} win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
}
win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
} }
void void