diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-11-02 14:02:16 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-11-02 14:33:35 +0100 |
commit | 020fae3bbbfba8743d665db3de1e5c63d8758d4b (patch) | |
tree | 240b8f1fc8ded6d7cf43a613b0fa6bdd57914feb | |
parent | 9b397a12a1968d7a9973a515202b703d97fb525d (diff) | |
download | libsecret-wip/nielsdg/dont-skip-secret-paths.tar.gz |
secret-paths: Add (nullable) if allowed.wip/nielsdg/dont-skip-secret-paths
This caused segfaults in Seahorse when someone canceled the "Change
Password" dialog for a keyring.
Related to GNOME/seahorse#204
-rw-r--r-- | libsecret/secret-paths.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libsecret/secret-paths.c b/libsecret/secret-paths.c index 6a57e75..bbd4b5d 100644 --- a/libsecret/secret-paths.c +++ b/libsecret/secret-paths.c @@ -2268,8 +2268,8 @@ secret_service_read_alias_dbus_path (SecretService *self, * * Stability: Unstable * - * Returns: (transfer full): the collection dbus object path, or %NULL if - * none assigned to the alias + * Returns: (transfer full) (nullable): the collection dbus object path, + * or %NULL if none assigned to the alias */ gchar * secret_service_read_alias_dbus_path_finish (SecretService *self, @@ -2311,8 +2311,8 @@ secret_service_read_alias_dbus_path_finish (SecretService *self, * * Stability: Unstable * - * Returns: (transfer full): the collection dbus object path, or %NULL if - * none assigned to the alias + * Returns: (transfer full) (nullable): the collection dbus object path, + * or %NULL if none assigned to the alias */ gchar * secret_service_read_alias_dbus_path_sync (SecretService *self, @@ -2491,8 +2491,8 @@ secret_service_set_alias_to_dbus_path_sync (SecretService *self, * * Stability: Unstable * - * Returns: (transfer full): %NULL if the prompt was dismissed or an error occurred, - * a variant result if the prompt was successful + * Returns: (transfer full) (nullable): %NULL if the prompt was dismissed or an +* error occurred, a variant result if the prompt was successful */ GVariant * secret_service_prompt_at_dbus_path_sync (SecretService *self, @@ -2569,8 +2569,8 @@ secret_service_prompt_at_dbus_path (SecretService *self, * * Stability: Unstable * - * Returns: (transfer full): %NULL if the prompt was dismissed or an error occurred, - * a variant result if the prompt was successful + * Returns: (transfer full) (nullable): %NULL if the prompt was dismissed or an + * error occurred, a variant result if the prompt was successful */ GVariant * secret_service_prompt_at_dbus_path_finish (SecretService *self, |