From 48a84c127102ce864fbfffab82ffdaef3e6983a9 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 11 Oct 2012 15:01:59 +0100 Subject: [PATCH] libnm-glib: add missing NMSettingHashFlags argument to NMSecretAgentGetSecretsFunc docs The nm_connection_to_hash() call in the NMSecretAgentGetSecretsFunc documentation missed the last argument. This patch adds NM_SETTING_HASH_FLAG_ALL as the last argument in the example. --- libnm-glib/nm-secret-agent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-glib/nm-secret-agent.h b/libnm-glib/nm-secret-agent.h index 50fc64ef7..6aa724387 100644 --- a/libnm-glib/nm-secret-agent.h +++ b/libnm-glib/nm-secret-agent.h @@ -132,7 +132,7 @@ typedef struct { * NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK", * NULL); * nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); - * secrets_hash = nm_connection_to_hash (secrets); + * secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL); * * (call the NMSecretAgentGetSecretsFunc with secrets_hash) *