diff options
Diffstat (limited to 'libnm-core/nm-version.h')
| -rw-r--r-- | libnm-core/nm-version.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index 59482d4e..c2404895 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -160,18 +160,10 @@ # define NM_AVAILABLE_IN_1_12 #endif -#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_14 -# define NM_DEPRECATED_IN_1_14 G_DEPRECATED -# define NM_DEPRECATED_IN_1_14_FOR(f) G_DEPRECATED_FOR(f) +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_12_2 +# define NM_AVAILABLE_IN_1_12_2 G_UNAVAILABLE(1,12.2) #else -# define NM_DEPRECATED_IN_1_14 -# define NM_DEPRECATED_IN_1_14_FOR(f) -#endif - -#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_14 -# define NM_AVAILABLE_IN_1_14 G_UNAVAILABLE(1,14) -#else -# define NM_AVAILABLE_IN_1_14 +# define NM_AVAILABLE_IN_1_12_2 #endif #endif /* NM_VERSION_H */ |