]> Pileus Git - ~andy/gtk/commitdiff
versionmacros: min-require the current stable version
authorBenjamin Otte <otte@redhat.com>
Mon, 30 Apr 2012 18:45:47 +0000 (20:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 1 May 2012 01:13:01 +0000 (03:13 +0200)
.. 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

index d9cec27321affb961768546a1e305d39085b33eb..cf733f15b1f3177cf5f0928edee6c996a097dbe7 100644 (file)
  * 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
 
 /**