From 12846d821cabc97cdf4aab7b6b3340cbe4de3219 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 30 Apr 2012 20:45:47 +0200 Subject: [PATCH] versionmacros: min-require the current stable version .. instead of the previous stable version. This ensures that if we use GDK_DEPRECATED_IN_3_6, it will actually emit a warning in GTK 3.5, and not wait with that until GTK 3.7. This is particularly useful for stuff that gets deprecated right now. This code should emit warnings right now, so we know what we're doing while deprecating. --- gdk/gdkversionmacros.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in index d9cec27321..cf733f15b1 100644 --- a/gdk/gdkversionmacros.h.in +++ b/gdk/gdkversionmacros.h.in @@ -124,7 +124,7 @@ * Since: 3.4 */ #ifndef GDK_VERSION_MIN_REQUIRED -# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_PREV_STABLE) +# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_CUR_STABLE) #endif /**