diff options
| author | Michael Biebl <biebl@debian.org> | 2016-01-20 16:26:51 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-01-20 16:26:51 +0100 |
| commit | 494f296a3baab08522617b24b1f126d8f9a17502 (patch) | |
| tree | c8ef32fb0dd1c4ff35a0b38e787abb58692de0cd /libnm-util/nm-version.h | |
| parent | 54f6333410ffd570e62717d9e77c5c987175e397 (diff) | |
Imported Upstream version 1.1.90 upstream/1.1.90
Diffstat (limited to 'libnm-util/nm-version.h')
| -rw-r--r-- | libnm-util/nm-version.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h index 63895dda..fd94e210 100644 --- a/libnm-util/nm-version.h +++ b/libnm-util/nm-version.h @@ -76,16 +76,18 @@ # define NM_AVAILABLE_IN_1_0 #endif -#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_0_4 -# define NM_AVAILABLE_IN_1_0_4 G_UNAVAILABLE(1,0.4) +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_2 +# define NM_DEPRECATED_IN_1_2 G_DEPRECATED +# define NM_DEPRECATED_IN_1_2_FOR(f) G_DEPRECATED_FOR(f) #else -# define NM_AVAILABLE_IN_1_0_4 +# define NM_DEPRECATED_IN_1_2 +# define NM_DEPRECATED_IN_1_2_FOR(f) #endif -#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_0_6 -# define NM_AVAILABLE_IN_1_0_6 G_UNAVAILABLE(1,0.6) +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_2 +# define NM_AVAILABLE_IN_1_2 G_UNAVAILABLE(1,2) #else -# define NM_AVAILABLE_IN_1_0_6 +# define NM_AVAILABLE_IN_1_2 #endif #endif /* NM_VERSION_H */ |