mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 17:14:02 +00:00
libnm: (trivial) correct an example in NMSecretAgentOldGetSecretsFunc docs
This commit is contained in:
parent
94274c6fcd
commit
382906c391
|
@ -71,7 +71,7 @@ typedef struct {
|
|||
* NMSettingWirelessSecurity *s_wsec;
|
||||
* GVariant *secrets_dict;
|
||||
*
|
||||
* secrets = nm_connection_new ();
|
||||
* secrets = nm_simple_connection_new ();
|
||||
* s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new ();
|
||||
* g_object_set (G_OBJECT (s_wsec),
|
||||
* NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK",
|
||||
|
|
Loading…
Reference in a new issue