diff options
| author | Michael Biebl <biebl@debian.org> | 2018-10-21 03:00:34 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-10-21 03:00:34 +0200 |
| commit | 1f85f9683a41ca116af20fd19940576040303080 (patch) | |
| tree | 54c4ac337fe0b0091772b7ef6a22c715dd985fab /libnm-core/nm-version.h | |
| parent | eca0cfe89a2a7ec88abe9c03075160f46b338137 (diff) | |
| parent | 5554398639fa9e344bd12205a64874e6436b936e (diff) | |
Merge branch 'experimental'
Diffstat (limited to 'libnm-core/nm-version.h')
| -rw-r--r-- | libnm-core/nm-version.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index c2404895..59482d4e 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -160,10 +160,18 @@ # define NM_AVAILABLE_IN_1_12 #endif -#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_12_2 -# define NM_AVAILABLE_IN_1_12_2 G_UNAVAILABLE(1,12.2) +#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) #else -# define NM_AVAILABLE_IN_1_12_2 +# 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 #endif #endif /* NM_VERSION_H */ |