summaryrefslogtreecommitdiff
path: root/libnm-core/nm-version.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-04-13 18:53:14 +0200
committerThomas Haller <thaller@redhat.com>2019-04-13 18:54:31 +0200
commit8849edbd64a948c038a857e27eec535fec601d75 (patch)
treee7c29aabc4d1a8425bc30c2ff900e6b36dba1781 /libnm-core/nm-version.h
parent5d804fcba71294858d19d88e288157954f2b3813 (diff)
downloadNetworkManager-8849edbd64a948c038a857e27eec535fec601d75.tar.gz
release: bump version to 1.19.0 (development)1.19.0-dev
Diffstat (limited to 'libnm-core/nm-version.h')
-rw-r--r--libnm-core/nm-version.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h
index 0ac2955baa..189efe8249 100644
--- a/libnm-core/nm-version.h
+++ b/libnm-core/nm-version.h
@@ -202,4 +202,18 @@
# define NM_AVAILABLE_IN_1_18
#endif
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_20
+# define NM_DEPRECATED_IN_1_20 G_DEPRECATED
+# define NM_DEPRECATED_IN_1_20_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define NM_DEPRECATED_IN_1_20
+# define NM_DEPRECATED_IN_1_20_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_20
+# define NM_AVAILABLE_IN_1_20 G_UNAVAILABLE(1,20)
+#else
+# define NM_AVAILABLE_IN_1_20
+#endif
+
#endif /* NM_VERSION_H */