secret-password: Add necessary gir annotations

This commit is contained in:
Daiki Ueno 2019-08-19 07:22:55 +02:00
parent 4ae7f8b7db
commit ef947b9988

View File

@ -177,12 +177,12 @@ on_store_backend (GObject *source,
/** /**
* secret_password_storev: (rename-to secret_password_store) * secret_password_storev: (rename-to secret_password_store)
* @schema: (nullable): the schema for attributes * @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 * @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret
* @label: label for the secret * @label: label for the secret
* @password: the null-terminated password to store * @password: the null-terminated password to store
* @cancellable: optional cancellation object * @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 * @user_data: data to be passed to the callback
* *
* Store a password in the secret service. * 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) * secret_password_storev_binary: (rename-to secret_password_store_binary)
* @schema: (nullable): the schema for attributes * @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 * @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret
* @label: label for the secret * @label: label for the secret
* @value: a #SecretValue * @value: a #SecretValue
* @cancellable: optional cancellation object * @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 * @user_data: data to be passed to the callback
* *
* Store a password in the secret service. * Store a password in the secret service.
@ -722,9 +722,9 @@ on_lookup_backend (GObject *source,
/** /**
* secret_password_lookupv: (rename-to secret_password_lookup) * secret_password_lookupv: (rename-to secret_password_lookup)
* @schema: (nullable): the schema for attributes * @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 * @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 * @user_data: data to be passed to the callback
* *
* Lookup a password in the secret service. * Lookup a password in the secret service.
@ -1264,9 +1264,9 @@ on_clear_backend (GObject *source,
/** /**
* secret_password_clearv: (rename-to secret_password_clear) * secret_password_clearv: (rename-to secret_password_clear)
* @schema: (nullable): the schema for the attributes * @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 * @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 * @user_data: data to be passed to the callback
* *
* Remove unlocked matching passwords from the secret service. * Remove unlocked matching passwords from the secret service.
@ -1552,10 +1552,10 @@ on_search_backend (GObject *source,
/** /**
* secret_password_searchv: (rename-to secret_password_search) * secret_password_searchv: (rename-to secret_password_search)
* @schema: (nullable): the schema for attributes * @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 * @flags: search option flags
* @cancellable: optional cancellation object * @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 * @user_data: data to be passed to the callback
* *
* Search for items in the secret service. * Search for items in the secret service.