Fix C example code

This commit is contained in:
Stef Walter 2012-03-25 12:33:38 +02:00
parent 3a8b4a36d8
commit 441f8554e3

View File

@ -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",