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,