[libsecret/wip/dueno/backend: 9/9] secret-password: Add necessary gir annotations



commit 0fe56ccfe8dc55724e6c9b459e2fdc9b03ebc0d8
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Aug 19 07:22:55 2019 +0200

    secret-password: Add necessary gir annotations

 libsecret/secret-password.c | 20 ++++++++++----------
 1 file 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]