[atk/wip/meson: 1/5] Add missing ATK_UNAVAILABLE macro



commit f1b5857085cd34ba11ef3dfa53c65143d1e4fbb3
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat May 20 15:04:36 2017 +0100

    Add missing ATK_UNAVAILABLE macro
    
    Without this, anybody trying to use ATK_VERSION_MAX_ALLOWED will fail to
    import atk.h.

 atk/atkversion.h.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/atk/atkversion.h.in b/atk/atkversion.h.in
index eefa775..b2de7f1 100644
--- a/atk/atkversion.h.in
+++ b/atk/atkversion.h.in
@@ -267,9 +267,11 @@
 #ifdef ATK_DISABLE_DEPRECATION_WARNINGS
 #define ATK_DEPRECATED _ATK_EXTERN
 #define ATK_DEPRECATED_FOR(f) _ATK_EXTERN
+#define ATK_UNAVAILABLE(maj,min) _ATK_EXTERN
 #else
 #define ATK_DEPRECATED G_DEPRECATED _ATK_EXTERN
 #define ATK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _ATK_EXTERN
+#define ATK_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) _ATK_EXTERN
 #endif
 
 #define ATK_AVAILABLE_IN_ALL _ATK_EXTERN


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