forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
7bb19b85c2
commit
12846d821c
@ -124,7 +124,7 @@
|
|||||||
* Since: 3.4
|
* Since: 3.4
|
||||||
*/
|
*/
|
||||||
#ifndef GDK_VERSION_MIN_REQUIRED
|
#ifndef GDK_VERSION_MIN_REQUIRED
|
||||||
# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_PREV_STABLE)
|
# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_CUR_STABLE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user