mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 11:40:32 +01:00
libnm: enable macros for marking sync libnm methods as deprecated
This commit is contained in:
parent
7c2bcd4bc9
commit
431c349b47
1 changed files with 5 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue