summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-07-09 17:41:01 +0000
committerDaiki Ueno <ueno@gnu.org>2021-07-09 17:41:01 +0000
commitc3d52974157af152c7ceac914833102c78572b65 (patch)
tree16e94e5d52257436f8574a84fa9fce113e20cc56
parent9a8d156075ce09e2895914c5e4c7f3ff4354e01c (diff)
parent436200b0cb5c6a9574d5e3c8126168ce069891e8 (diff)
downloadlibsecret-c3d52974157af152c7ceac914833102c78572b65.tar.gz
Merge branch 'doc_fix_typo' into 'master'
docs: Fix typos See merge request GNOME/libsecret!88
-rw-r--r--docs/reference/libsecret/libsecret-examples.sgml2
-rw-r--r--libsecret/secret-attributes.c4
-rw-r--r--libsecret/secret-password.c14
-rw-r--r--libsecret/secret-schema.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/docs/reference/libsecret/libsecret-examples.sgml b/docs/reference/libsecret/libsecret-examples.sgml
index b6f881b..e5be51a 100644
--- a/docs/reference/libsecret/libsecret-examples.sgml
+++ b/docs/reference/libsecret/libsecret-examples.sgml
@@ -236,7 +236,7 @@
* The variable argument list is the attributes used to later
* lookup the password. These attributes must conform to the schema.
*/
- secret_password_clear (EXAMPLE_SCHEMA, NULL, on_password_cleard, NULL,
+ secret_password_clear (EXAMPLE_SCHEMA, NULL, on_password_cleared, NULL,
"string", "nine",
"even", FALSE,
NULL);
diff --git a/libsecret/secret-attributes.c b/libsecret/secret-attributes.c
index c8b0ee4..be3597a 100644
--- a/libsecret/secret-attributes.c
+++ b/libsecret/secret-attributes.c
@@ -84,7 +84,7 @@ _secret_attributes_for_variant (GVariant *variant)
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* Returns: (transfer full) (element-type utf8 utf8): a new table of
* attributes, to be released with g_hash_table_unref()
@@ -113,7 +113,7 @@ secret_attributes_build (const SecretSchema *schema,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* Returns: (transfer full) (element-type utf8 utf8): a new table of
* attributes, to be released with g_hash_table_unref()
diff --git a/libsecret/secret-password.c b/libsecret/secret-password.c
index 6fc7755..30c5352 100644
--- a/libsecret/secret-password.c
+++ b/libsecret/secret-password.c
@@ -61,7 +61,7 @@
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the @schema.
- * The list of attribtues should be terminated with a %NULL.
+ * The list of attributes should be terminated with a %NULL.
*
* If the attributes match a secret item already stored in the collection, then
* the item will be updated with these new values.
@@ -381,7 +381,7 @@ secret_password_store_finish (GAsyncResult *result,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the @schema.
- * The list of attribtues should be terminated with a %NULL.
+ * The list of attributes should be terminated with a %NULL.
*
* If the attributes match a secret item already stored in the collection, then
* the item will be updated with these new values.
@@ -625,7 +625,7 @@ secret_password_storev_binary_sync (const SecretSchema *schema,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* If no secret is found then %NULL is returned.
*
@@ -909,7 +909,7 @@ secret_password_lookup_sync (const SecretSchema *schema,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* If no secret is found then %NULL is returned.
*
@@ -1169,7 +1169,7 @@ secret_password_lookupv_sync (const SecretSchema *schema,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* All unlocked items that match the attributes will be deleted.
*
@@ -1345,7 +1345,7 @@ secret_password_clear_finish (GAsyncResult *result,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* All unlocked items that match the attributes will be deleted.
*
@@ -1449,7 +1449,7 @@ secret_password_clearv_sync (const SecretSchema *schema,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) attribute value, either a character
* string, an int number, or a gboolean value, as defined in the password
- * @schema. The list of attribtues should be terminated with a %NULL.
+ * @schema. The list of attributes should be terminated with a %NULL.
*
* This method will return immediately and complete asynchronously.
*
diff --git a/libsecret/secret-schema.c b/libsecret/secret-schema.c
index 5ba3a9f..b04d922 100644
--- a/libsecret/secret-schema.c
+++ b/libsecret/secret-schema.c
@@ -251,7 +251,7 @@ secret_schema_newv (const gchar *name,
* The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) integers from the
* #SecretSchemaAttributeType enumeration, representing the attribute type for
- * each attribute name. The list of attribtues should be terminated with a %NULL.
+ * each attribute name. The list of attributes should be terminated with a %NULL.
*
* Normally when looking up passwords only those with matching schema names are
* returned. If the schema @flags contain the %SECRET_SCHEMA_DONT_MATCH_NAME flag,