about summary refs log tree commit diff
path: root/src/libnm-core-public/nm-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-core-public/nm-version.h')
-rw-r--r--src/libnm-core-public/nm-version.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/libnm-core-public/nm-version.h b/src/libnm-core-public/nm-version.h
index d9f9a121..0b2e6103 100644
--- a/src/libnm-core-public/nm-version.h
+++ b/src/libnm-core-public/nm-version.h
@@ -341,10 +341,18 @@
 #define NM_AVAILABLE_IN_1_40
 #endif
 
-#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_40_4
-#define NM_AVAILABLE_IN_1_40_4 G_UNAVAILABLE(1, 40.4)
+#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_42
+#define NM_DEPRECATED_IN_1_42        G_DEPRECATED
+#define NM_DEPRECATED_IN_1_42_FOR(f) G_DEPRECATED_FOR(f)
 #else
-#define NM_AVAILABLE_IN_1_40_4
+#define NM_DEPRECATED_IN_1_42
+#define NM_DEPRECATED_IN_1_42_FOR(f)
+#endif
+
+#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_42
+#define NM_AVAILABLE_IN_1_42 G_UNAVAILABLE(1, 42)
+#else
+#define NM_AVAILABLE_IN_1_42
 #endif
 
 /*