From e8915ae422d34fd17868311d272b823b8a7108cf Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 10 Aug 2010 10:54:33 +0200 Subject: [PATCH] gdk: Undeprecate gdk_region_xor() cairo_region_xor() does now exist, so there's no need to deprecate this function. --- gdk/gdkregion-generic.c | 4 ---- gdk/gdkregion.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gdk/gdkregion-generic.c b/gdk/gdkregion-generic.c index 10ad0ccf44..2581ff12d2 100644 --- a/gdk/gdkregion-generic.c +++ b/gdk/gdkregion-generic.c @@ -1509,10 +1509,6 @@ gdk_region_subtract (GdkRegion *source1, * Sets the area of @source1 to the exclusive-OR of the areas of @source1 * and @source2. The resulting area is the set of pixels contained in one * or the other of the two sources but not in both. - * - * Deprecated: 2.22: There is no replacement, but the function can be - * reimplemented using gdk_region_intersect() and - * gdk_region_subract() easily. **/ void gdk_region_xor (GdkRegion *source1, diff --git a/gdk/gdkregion.h b/gdk/gdkregion.h index 454194f78c..52dc6a10ed 100644 --- a/gdk/gdkregion.h +++ b/gdk/gdkregion.h @@ -109,10 +109,10 @@ void gdk_region_union (GdkRegion *source1, const GdkRegion *source2); void gdk_region_subtract (GdkRegion *source1, const GdkRegion *source2); -#ifndef GDK_DISABLE_DEPRECATED void gdk_region_xor (GdkRegion *source1, const GdkRegion *source2); +#ifndef GDK_DISABLE_DEPRECATED void gdk_region_spans_intersect_foreach (GdkRegion *region, const GdkSpan *spans, int n_spans,