docs: Fix typos

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-07-09 17:08:29 +02:00
parent 9a8d156075
commit 436200b0cb
4 changed files with 11 additions and 11 deletions

View File

@ -236,7 +236,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_clear (EXAMPLE_SCHEMA, NULL, on_password_cleard, NULL, secret_password_clear (EXAMPLE_SCHEMA, NULL, on_password_cleared, NULL,
"string", "nine", "string", "nine",
"even", FALSE, "even", FALSE,
NULL); NULL);

View File

@ -84,7 +84,7 @@ _secret_attributes_for_variant (GVariant *variant)
* The variable argument list should contain pairs of a) The attribute name as * 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 * 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 * 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 * Returns: (transfer full) (element-type utf8 utf8): a new table of
* attributes, to be released with g_hash_table_unref() * 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 * 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 * 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 * 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 * Returns: (transfer full) (element-type utf8 utf8): a new table of
* attributes, to be released with g_hash_table_unref() * attributes, to be released with g_hash_table_unref()

View File

@ -61,7 +61,7 @@
* The variable argument list should contain pairs of a) The attribute name as * 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 * 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. * 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 * If the attributes match a secret item already stored in the collection, then
* the item will be updated with these new values. * 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 * 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 * 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. * 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 * If the attributes match a secret item already stored in the collection, then
* the item will be updated with these new values. * 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 * 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 * 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 * 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. * 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 * 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 * 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 * 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. * 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 * 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 * 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 * 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. * 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 * 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 * 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 * 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. * 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 * 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 * 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 * 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. * This method will return immediately and complete asynchronously.
* *

View File

@ -251,7 +251,7 @@ secret_schema_newv (const gchar *name,
* The variable argument list should contain pairs of a) The attribute name as * The variable argument list should contain pairs of a) The attribute name as
* a null-terminated string, followed by b) integers from the * a null-terminated string, followed by b) integers from the
* #SecretSchemaAttributeType enumeration, representing the attribute type for * #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 * 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, * returned. If the schema @flags contain the %SECRET_SCHEMA_DONT_MATCH_NAME flag,