mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-03 02:28:53 +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
|
||||
* 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,
|
||||
"number", 8,
|
||||
"string", "eight",
|
||||
@ -103,7 +103,7 @@
|
||||
* The variable argument list is the attributes used to later
|
||||
* 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,
|
||||
"number", 9,
|
||||
"string", "nine",
|
||||
|
Loading…
Reference in New Issue
Block a user