about summary refs log tree commit diff
path: root/libnm-core/nm-version.h
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-02-26 16:32:44 +0100
committerSebastien Bacher <seb128@ubuntu.com>2020-02-26 16:32:44 +0100
commit447eb1ee6c50e2cac4009e66add3c1d449822589 (patch)
tree7bc7db8f5d7e12137e758ea03ebe5c1eb8b07a23 /libnm-core/nm-version.h
parent0b818c504ebbb9454b501c532be8603bf383e37a (diff)
parent3cbb3d6ecfef1076fc757632ee8327935250afee (diff)
Merge remote-tracking branch 'salsa/debian/master' into ubuntu/master
Diffstat (limited to 'libnm-core/nm-version.h')
-rw-r--r--libnm-core/nm-version.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h
index 8cb0ac50..3fd2f346 100644
--- a/libnm-core/nm-version.h
+++ b/libnm-core/nm-version.h
@@ -229,6 +229,12 @@
 # define NM_AVAILABLE_IN_1_22_2
 #endif
 
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_22_8
+# define NM_AVAILABLE_IN_1_22_8            G_UNAVAILABLE(1,22.8)
+#else
+# define NM_AVAILABLE_IN_1_22_8
+#endif
+
 /*
  * Synchronous API for calling D-Bus in libnm is deprecated. See
  * https://developer.gnome.org/libnm/stable/usage.html#sync-api