summaryrefslogtreecommitdiff
path: root/libnm-util/nm-version.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-08-17 15:49:17 +0200
committerLubomir Rintel <lkundrak@v3.sk>2016-08-17 16:20:42 +0200
commitb2eb64a4390e1d565a3193c7fe076b295670e577 (patch)
tree68d7d21312f0011ca166c2ab717238285c846b21 /libnm-util/nm-version.h
parentcb6f1f57517ef47f40876a39865392cff57cc2d7 (diff)
release: bump version to 1.5.0 (development)1.5.0-dev
Diffstat (limited to 'libnm-util/nm-version.h')
-rw-r--r--libnm-util/nm-version.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h
index 760151a68f..b8b32306e0 100644
--- a/libnm-util/nm-version.h
+++ b/libnm-util/nm-version.h
@@ -104,4 +104,18 @@
# define NM_AVAILABLE_IN_1_4
#endif
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_6
+# define NM_DEPRECATED_IN_1_6 G_DEPRECATED
+# define NM_DEPRECATED_IN_1_6_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define NM_DEPRECATED_IN_1_6
+# define NM_DEPRECATED_IN_1_6_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_6
+# define NM_AVAILABLE_IN_1_6 G_UNAVAILABLE(1,6)
+#else
+# define NM_AVAILABLE_IN_1_6
+#endif
+
#endif /* NM_VERSION_H */