summaryrefslogtreecommitdiff
path: root/libnm-util/nm-version.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-18 18:34:19 +0100
committerThomas Haller <thaller@redhat.com>2017-01-18 18:37:06 +0100
commitd5685c183ca6edde0b22dd73d7ff0309c86ccae5 (patch)
tree8958ea6c18a3c6b226fe05e8834972931af544f6 /libnm-util/nm-version.h
parenta4d61bf29905ac9e5c7e6f99344733a4ccb2297f (diff)
release: bump version to 1.7.0 (development)1.7.0-dev
belatedly...
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 b8b32306e0..a44d44e607 100644
--- a/libnm-util/nm-version.h
+++ b/libnm-util/nm-version.h
@@ -118,4 +118,18 @@
# define NM_AVAILABLE_IN_1_6
#endif
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_8
+# define NM_DEPRECATED_IN_1_8 G_DEPRECATED
+# define NM_DEPRECATED_IN_1_8_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define NM_DEPRECATED_IN_1_8
+# define NM_DEPRECATED_IN_1_8_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_8
+# define NM_AVAILABLE_IN_1_8 G_UNAVAILABLE(1,8)
+#else
+# define NM_AVAILABLE_IN_1_8
+#endif
+
#endif /* NM_VERSION_H */