mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-05 03:28:54 +00:00
Fix C example code
This commit is contained in:
parent
3a8b4a36d8
commit
441f8554e3
@ -84,7 +84,7 @@
|
|||||||
* The variable argument list is the attributes used to later
|
* The variable argument list is the attributes used to later
|
||||||
* lookup the password. These attributes must conform to the schema.
|
* lookup the password. These attributes must conform to the schema.
|
||||||
*/
|
*/
|
||||||
secret_password_store (EXAMPLE_SCHEMA, Secret.COLLECTION_DEFAULT, "The label",
|
secret_password_store (EXAMPLE_SCHEMA, SECRET_COLLECTION_DEFAULT, "The label",
|
||||||
"the password", NULL, on_password_stored, NULL,
|
"the password", NULL, on_password_stored, NULL,
|
||||||
"number", 8,
|
"number", 8,
|
||||||
"string", "eight",
|
"string", "eight",
|
||||||
@ -103,7 +103,7 @@
|
|||||||
* The variable argument list is the attributes used to later
|
* The variable argument list is the attributes used to later
|
||||||
* lookup the password. These attributes must conform to the schema.
|
* lookup the password. These attributes must conform to the schema.
|
||||||
*/
|
*/
|
||||||
secret_password_store_sync (EXAMPLE_SCHEMA, Secret.COLLECTION_DEFAULT,
|
secret_password_store_sync (EXAMPLE_SCHEMA, SECRET_COLLECTION_DEFAULT,
|
||||||
"The label", "the password", NULL, &error,
|
"The label", "the password", NULL, &error,
|
||||||
"number", 9,
|
"number", 9,
|
||||||
"string", "nine",
|
"string", "nine",
|
||||||
|
Loading…
Reference in New Issue
Block a user