From 436200b0cb5c6a9574d5e3c8126168ce069891e8 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 9 Jul 2021 17:08:29 +0200 Subject: [PATCH] docs: Fix typos --- docs/reference/libsecret/libsecret-examples.sgml | 2 +- libsecret/secret-attributes.c | 4 ++-- libsecret/secret-password.c | 14 +++++++------- libsecret/secret-schema.c | 2 +- 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,