mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 21:48:08 +02:00
libnm: (trivial) correct an example in NMSecretAgentOldGetSecretsFunc docs
This commit is contained in:
parent
94274c6fcd
commit
382906c391
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue