Fix C example code
authorStef Walter <stefw@gnome.org>
Sun, 25 Mar 2012 10:33:38 +0000 (12:33 +0200)
committerStef Walter <stefw@gnome.org>
Sun, 25 Mar 2012 10:33:38 +0000 (12:33 +0200)
docs/reference/libsecret/libsecret-examples.sgml

index 94ef82a9c483e601582e0aed82faabb8afdfc915..f885799e0d38012dec97f26486ccf4249f5f1c11 100644 (file)
@@ -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",
                         * 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",