diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 10:49:37 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-01-25 10:49:37 +0100 |
| commit | 404ebe62622150e77e311777dff8617eb974e834 (patch) | |
| tree | cc7f73d3e435d5b3ee85e2bef833e8de1fb133e3 /libnm-core/nm-version.h | |
| parent | 227c401a10a930af6fd5f123aef345fcd130d6aa (diff) | |
| parent | 3626b425d1bc017fdc6f1ea0cfd329d1e1681641 (diff) | |
Merge remote-tracking branch 'salsa/upstream' into upstream
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 */ |