diff options
author | Daiki Ueno <dueno@src.gnome.org> | 2019-08-19 07:22:55 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2019-10-08 07:55:55 +0000 |
commit | 060061905ac4ede1ceeef1a0af86cb47aacd28d3 (patch) | |
tree | 66c3729eb37073d0fb3834b28f439f673706db18 | |
parent | 49e6e0cf6099234dbee0a24885745adf1d910971 (diff) | |
download | libsecret-060061905ac4ede1ceeef1a0af86cb47aacd28d3.tar.gz |
secret-password: Add necessary gir annotations
-rw-r--r-- | libsecret/secret-password.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libsecret/secret-password.c b/libsecret/secret-password.c index dd21e74..491e211 100644 --- a/libsecret/secret-password.c +++ b/libsecret/secret-password.c @@ -177,12 +177,12 @@ on_store_backend (GObject *source, /** * secret_password_storev: (rename-to secret_password_store) * @schema: (nullable): the schema for attributes - * @attributes: (element-type utf8 utf8): the attribute keys and values + * @attributes: (element-type utf8 utf8) (transfer full): the attribute keys and values * @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret * @label: label for the secret * @password: the null-terminated password to store * @cancellable: optional cancellation object - * @callback: called when the operation completes + * @callback: (scope async): called when the operation completes * @user_data: data to be passed to the callback * * Store a password in the secret service. @@ -289,12 +289,12 @@ secret_password_store_binary (const SecretSchema *schema, /** * secret_password_storev_binary: (rename-to secret_password_store_binary) * @schema: (nullable): the schema for attributes - * @attributes: (element-type utf8 utf8): the attribute keys and values + * @attributes: (element-type utf8 utf8) (transfer full): the attribute keys and values * @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret * @label: label for the secret * @value: a #SecretValue * @cancellable: optional cancellation object - * @callback: called when the operation completes + * @callback: (scope async): called when the operation completes * @user_data: data to be passed to the callback * * Store a password in the secret service. @@ -722,9 +722,9 @@ on_lookup_backend (GObject *source, /** * secret_password_lookupv: (rename-to secret_password_lookup) * @schema: (nullable): the schema for attributes - * @attributes: (element-type utf8 utf8): the attribute keys and values + * @attributes: (element-type utf8 utf8) (transfer full): the attribute keys and values * @cancellable: optional cancellation object - * @callback: called when the operation completes + * @callback: (scope async): called when the operation completes * @user_data: data to be passed to the callback * * Lookup a password in the secret service. @@ -1264,9 +1264,9 @@ on_clear_backend (GObject *source, /** * secret_password_clearv: (rename-to secret_password_clear) * @schema: (nullable): the schema for the attributes - * @attributes: (element-type utf8 utf8): the attribute keys and values + * @attributes: (element-type utf8 utf8) (transfer full): the attribute keys and values * @cancellable: optional cancellation object - * @callback: called when the operation completes + * @callback: (scope async): called when the operation completes * @user_data: data to be passed to the callback * * Remove unlocked matching passwords from the secret service. @@ -1553,10 +1553,10 @@ on_search_backend (GObject *source, /** * secret_password_searchv: (rename-to secret_password_search) * @schema: (nullable): the schema for attributes - * @attributes: (element-type utf8 utf8): the attribute keys and values + * @attributes: (element-type utf8 utf8) (transfer full): the attribute keys and values * @flags: search option flags * @cancellable: optional cancellation object - * @callback: called when the operation completes + * @callback: (scope async): called when the operation completes * @user_data: data to be passed to the callback * * Search for items in the secret service. |