From 9d510d5c04d997eb87e8f89e45cf0f59e2fe40e5 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Thu, 10 Dec 2020 12:31:13 -0800 Subject: secret-paths.c: Add annotations for `paths` variable Fixes an issue with annotations that would cause Rust bindings to generate incorrectly. --- libsecret/secret-paths.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libsecret') diff --git a/libsecret/secret-paths.c b/libsecret/secret-paths.c index bfdf0ef..0fca0ce 100644 --- a/libsecret/secret-paths.c +++ b/libsecret/secret-paths.c @@ -1148,7 +1148,7 @@ _secret_service_xlock_paths_finish (SecretService *self, /** * secret_service_lock_dbus_paths_sync: (skip) * @self: the secret service - * @paths: the D-Bus object paths of the items or collections to lock + * @paths: (array zero-terminated=1): the D-Bus object paths of the items or collections to lock * @cancellable: optional cancellation object * @locked: (out) (array zero-terminated=1) (transfer full) (allow-none): * location to place array of D-Bus paths of items or collections @@ -1207,7 +1207,7 @@ secret_service_lock_dbus_paths_sync (SecretService *self, /** * secret_service_lock_dbus_paths: (skip) * @self: the secret service - * @paths: the D-Bus paths for items or collections to lock + * @paths: (array zero-terminated=1): the D-Bus paths for items or collections to lock * @cancellable: optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback @@ -1277,7 +1277,8 @@ secret_service_lock_dbus_paths_finish (SecretService *self, /** * secret_service_unlock_dbus_paths_sync: (skip) * @self: the secret service - * @paths: the D-Bus object paths of the items or collections to unlock + * @paths: (array zero-terminated=1): the D-Bus object paths of the items or + * collections to unlock * @cancellable: optional cancellation object * @unlocked: (out) (array zero-terminated=1) (transfer full) (allow-none): * location to place array of D-Bus paths of items or collections @@ -1336,7 +1337,8 @@ secret_service_unlock_dbus_paths_sync (SecretService *self, /** * secret_service_unlock_dbus_paths: (skip) * @self: the secret service - * @paths: the D-Bus paths for items or collections to unlock + * @paths: (array zero-terminated=1): the D-Bus paths for items or + * collections to unlock * @cancellable: optional cancellation object * @callback: called when the operation completes * @user_data: data to pass to the callback -- cgit v1.2.1