summaryrefslogtreecommitdiff
path: root/libnm-core/nm-version.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-06-15 17:05:58 +0200
committerThomas Haller <thaller@redhat.com>2018-06-15 17:16:18 +0200
commitfb9edd5eddfd69a8c6eb5d1ad32b24cc33a3cb5d (patch)
tree3c9c3c5e14c3a52bc696fc8a4da4c43c0e22cca7 /libnm-core/nm-version.h
parente0d7e2933432bcf3f2c421b242084552b6783b95 (diff)
downloadNetworkManager-fb9edd5eddfd69a8c6eb5d1ad32b24cc33a3cb5d.tar.gz
release: bump version to 1.13.0 (development)1.13.0-devth/release
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 0412bc8e94..59482d4eeb 100644
--- a/libnm-core/nm-version.h
+++ b/libnm-core/nm-version.h
@@ -160,4 +160,18 @@
# 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)
+#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
+#endif
+
#endif /* NM_VERSION_H */