diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-16 01:23:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:07 +0200 |
commit | a52336bedcb7ac8a08f3a1f9e3aa0a662ba379a0 (patch) | |
tree | 62741f252f9964926a1de865471d8064add8c5a3 /gdk/gdkversionmacros.h.in | |
parent | 1de2e3ce00fe9167cfcec2526e2ee6fb67333188 (diff) | |
download | gtk+-a52336bedcb7ac8a08f3a1f9e3aa0a662ba379a0.tar.gz |
gdk: Add deprecation/availability macros for 3.6
Diffstat (limited to 'gdk/gdkversionmacros.h.in')
-rw-r--r-- | gdk/gdkversionmacros.h.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdk/gdkversionmacros.h.in b/gdk/gdkversionmacros.h.in index cbb92653ef..443c286b93 100644 --- a/gdk/gdkversionmacros.h.in +++ b/gdk/gdkversionmacros.h.in @@ -193,4 +193,18 @@ # define GDK_AVAILABLE_IN_3_4 #endif +#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6 +# define GDK_DEPRECATED_IN_3_6 GDK_DEPRECATED +# define GDK_DEPRECATED_IN_3_6_FOR(f) GDK_DEPRECATED_FOR(f) +#else +# define GDK_DEPRECATED_IN_3_6 +# define GDK_DEPRECATED_IN_3_6_FOR(f) +#endif + +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_6 +# define GDK_AVAILABLE_IN_3_6 GDK_UNAVAILABLE(3, 6) +#else +# define GDK_AVAILABLE_IN_3_6 +#endif + #endif /* __GDK_VERSION_MACROS_H__ */ |