From 4f323b2e6785b188651b2a42d9200fa057a64276 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 1 Mar 2012 10:54:47 +0100 Subject: Change argument of secret_password_free() to gchar * --- library/secret-password.c | 4 ++-- 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 -- cgit v1.2.1