about summary refs log tree commit diff
path: root/src/libnm-client-impl/nm-remote-connection.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-08-26 20:37:52 +0200
committerMichael Biebl <biebl@debian.org>2022-08-26 20:37:52 +0200
commit31b0de3e5396f971e1476a155031a2c6d30af711 (patch)
treeb248ac35833f8356ece0e5719521d97c1cb03925 /src/libnm-client-impl/nm-remote-connection.c
parent6ba52b312b7e2bd5744d3edacbe4149212242c74 (diff)
parentab0efddcdb48d800e2f938da54cfe3074640792e (diff)
Update upstream source from tag 'upstream/1.40.0'
Update to upstream version '1.40.0'
with Debian dir a59a8bafb9190ecb810335bfdaa82270e423df1d
Diffstat (limited to 'src/libnm-client-impl/nm-remote-connection.c')
-rw-r--r--src/libnm-client-impl/nm-remote-connection.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libnm-client-impl/nm-remote-connection.c b/src/libnm-client-impl/nm-remote-connection.c
index efc4dbfb..23dfc1da 100644
--- a/src/libnm-client-impl/nm-remote-connection.c
+++ b/src/libnm-client-impl/nm-remote-connection.c
@@ -443,7 +443,11 @@ nm_remote_connection_delete_finish(NMRemoteConnection *connection,
  * Returns: (transfer full): a #GVariant of type %NM_VARIANT_TYPE_CONNECTION containing
  * @connection's secrets, or %NULL on error.
  *
- * Deprecated: 1.22: Use nm_remote_connection_get_secrets_async() or GDBusConnection.
+ * Warning: NMClient contains a cache of objects on D-Bus. This cache gets updated
+ *   with D-Bus signals when iterating the GMainContext. This function performs a
+ *   (pseudo) blocking D-Bus call. Aside blocking, the result will not be in sync
+ *   and not be ordered with the content of the NMClient cache.
+ *   This function used to be deprecated between 1.22 and 1.38 releases.
  **/
 GVariant *
 nm_remote_connection_get_secrets(NMRemoteConnection *connection,