diff options
author | Benjamin Otte <otte@redhat.com> | 2012-04-30 20:45:47 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-05-01 03:13:01 +0200 |
commit | 12846d821cabc97cdf4aab7b6b3340cbe4de3219 (patch) | |
tree | 71124fea6a135a27d3ca090f1a1f5e3234ece33b /gdk | |
parent | 7bb19b85c26ffc8b93d82cb392f7575018a2ae52 (diff) | |
download | gtk+-12846d821cabc97cdf4aab7b6b3340cbe4de3219.tar.gz |
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.
Diffstat (limited to 'gdk')
-rw-r--r-- | 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 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 /** |