summaryrefslogtreecommitdiff
path: root/libnm-core
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-11-29 15:46:22 +0100
committerThomas Haller <thaller@redhat.com>2019-11-29 15:46:22 +0100
commit0c06a0f3687672a227c934a30d56f306e925f8b1 (patch)
treefee7cc7bf05c0a5b268821272e2a42183a8d8488 /libnm-core
parent9b8c4c1cfd93b56602e5a9a481e94c80f2e49897 (diff)
downloadNetworkManager-0c06a0f3687672a227c934a30d56f306e925f8b1.tar.gz
release: bump version to 1.23.0 (development)1.23.0-dev
Diffstat (limited to 'libnm-core')
-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 3180c7e26a..e8a94db648 100644
--- a/libnm-core/nm-version.h
+++ b/libnm-core/nm-version.h
@@ -215,6 +215,20 @@
# define NM_AVAILABLE_IN_1_22
#endif
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_24
+# define NM_DEPRECATED_IN_1_24 G_DEPRECATED
+# define NM_DEPRECATED_IN_1_24_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define NM_DEPRECATED_IN_1_24
+# define NM_DEPRECATED_IN_1_24_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_24
+# define NM_AVAILABLE_IN_1_24 G_UNAVAILABLE(1,24)
+#else
+# define NM_AVAILABLE_IN_1_24
+#endif
+
/*
* Synchronous API for calling D-Bus in libnm is deprecated. See
* https://developer.gnome.org/libnm/stable/usage.html#sync-api