diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2021-02-06 10:13:59 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2021-02-06 10:13:59 +0100 |
commit | 2aabeb12397c40bf06631378a678cf56e4bfc0c3 (patch) | |
tree | 5759b00143e1cd0a5156176501d9ef08ce1c64b6 /libsecret/secret-collection.c | |
parent | f8adb7c31dd8b739c7b7d871da466340d5568b5e (diff) | |
download | libsecret-2aabeb12397c40bf06631378a678cf56e4bfc0c3.tar.gz |
Mark optional GCancellables as (nullable)
Diffstat (limited to 'libsecret/secret-collection.c')
-rw-r--r-- | libsecret/secret-collection.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libsecret/secret-collection.c b/libsecret/secret-collection.c index efd3ccb..dbd7165 100644 --- a/libsecret/secret-collection.c +++ b/libsecret/secret-collection.c @@ -777,7 +777,7 @@ on_load_item (GObject *source, /** * secret_collection_load_items: * @self: the secret collection - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @callback: called when the operation completes * @user_data: data to be passed to the callback * @@ -870,7 +870,7 @@ secret_collection_load_items_finish (SecretCollection *self, /** * secret_collection_load_items_sync: * @self: the secret collection - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @error: location to place an error on failure * * Ensure that the #SecretCollection proxy has loaded all the items present @@ -1061,7 +1061,7 @@ _secret_collection_properties_new (const gchar *label) * @label: label for the new collection * @alias: (nullable): alias to assign to the collection * @flags: currently unused - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback * @@ -1159,7 +1159,7 @@ secret_collection_create_finish (GAsyncResult *result, * @label: label for the new collection * @alias: (nullable): alias to assign to the collection * @flags: currently unused - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @error: location to place an error on failure * * Create a new collection in the secret service. @@ -1400,7 +1400,7 @@ on_search_paths (GObject *source, * @schema: (nullable): the schema for the attributes * @attributes: (element-type utf8 utf8): search for items matching these attributes * @flags: search option flags - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback * @@ -1534,7 +1534,7 @@ collection_load_items_sync (SecretCollection *self, * @schema: (nullable): the schema for the attributes * @attributes: (element-type utf8 utf8): search for items matching these attributes * @flags: search option flags - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @error: location to place error on failure * * Search for items matching the @attributes in the @collection. @@ -1625,7 +1625,7 @@ on_service_delete_path (GObject *source, /** * secret_collection_delete: * @self: a collection - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback * @@ -1687,7 +1687,7 @@ secret_collection_delete_finish (SecretCollection *self, /** * secret_collection_delete_sync: * @self: a collection - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @error: location to place an error on failure * * Delete this collection. @@ -1841,7 +1841,7 @@ secret_collection_get_label (SecretCollection *self) * secret_collection_set_label: * @self: a collection * @label: a new label - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback * @@ -1891,7 +1891,7 @@ secret_collection_set_label_finish (SecretCollection *self, * secret_collection_set_label_sync: * @self: a collection * @label: a new label - * @cancellable: optional cancellation object + * @cancellable: (nullable): optional cancellation object * @error: location to place error on failure * * Set the label of this collection. |