[gtk+] versionmacros: min-require the current stable version



commit 12846d821cabc97cdf4aab7b6b3340cbe4de3219
Author: Benjamin Otte <otte redhat com>
Date:   Mon Apr 30 20:45:47 2012 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in
index d9cec27..cf733f1 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
 
 /**



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