diff options
author | Stef Walter <stefw@gnome.org> | 2012-03-01 10:54:47 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-03-01 10:54:47 +0100 |
commit | 4f323b2e6785b188651b2a42d9200fa057a64276 (patch) | |
tree | c19130fe91644cb4a3e7781f31e5afbb320db77e | |
parent | d1bc425af92f66380511799d093cbd929379f833 (diff) | |
download | libsecret-4f323b2e6785b188651b2a42d9200fa057a64276.tar.gz |
Change argument of secret_password_free() to gchar *
-rw-r--r-- | library/secret-password.c | 4 | ||||
-rw-r--r-- | library/secret-password.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/secret-password.c b/library/secret-password.c index 1c3edf2..0996d66 100644 --- a/library/secret-password.c +++ b/library/secret-password.c @@ -945,13 +945,13 @@ secret_password_removev_sync (const SecretSchema *schema, /** * secret_password_free: - * @password: (type utf8) (allow-none): password to free + * @password: (allow-none): password to free * * Free a password returned by secret_password_lookup_finish(), * secret_password_lookup_sync() or secret_password_lookupv_sync(). */ void -secret_password_free (gpointer password) +secret_password_free (gchar *password) { if (password == NULL) return; diff --git a/library/secret-password.h b/library/secret-password.h index a1d039c..1292a9d 100644 --- a/library/secret-password.h +++ b/library/secret-password.h @@ -110,7 +110,7 @@ gboolean secret_password_removev_sync (const SecretSchema *sche GCancellable *cancellable, GError **error); -void secret_password_free (gpointer password); +void secret_password_free (gchar *password); G_END_DECLS |