diff options
-rw-r--r-- | libnm-core/nm-version.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index e8a94db648..195fc19684 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -249,10 +249,11 @@ * around g_dbus_connection_call_sync(). You may call it directly * without feeling dirty. * - * We don't want to force users away from this API, for that reason the - * macro does not yet expand to G_DEPRECATED. + * The API is marked as deprecated since 1.22, however the macro only starts + * complaining in 1.24. That's intentional, because in 1.22 the asynchronous + * alternative was not yet available. */ -#define _NM_DEPRECATED_SYNC_METHOD /*NM_DEPRECATED_IN_1_22*/ -#define _NM_DEPRECATED_SYNC_WRITABLE_PROPERTY /*NM_DEPRECATED_IN_1_22*/ +#define _NM_DEPRECATED_SYNC_METHOD NM_DEPRECATED_IN_1_24 +#define _NM_DEPRECATED_SYNC_WRITABLE_PROPERTY /* NM_DEPRECATED_IN_1_22 */ #endif /* NM_VERSION_H */ |