Change argument of secret_password_free() to gchar *

This commit is contained in:
Stef Walter 2012-03-01 10:54:47 +01:00
parent d1bc425af9
commit 4f323b2e67
2 changed files with 3 additions and 3 deletions

View File

@ -945,13 +945,13 @@ secret_password_removev_sync (const SecretSchema *schema,
/** /**
* secret_password_free: * 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(), * Free a password returned by secret_password_lookup_finish(),
* secret_password_lookup_sync() or secret_password_lookupv_sync(). * secret_password_lookup_sync() or secret_password_lookupv_sync().
*/ */
void void
secret_password_free (gpointer password) secret_password_free (gchar *password)
{ {
if (password == NULL) if (password == NULL)
return; return;

View File

@ -110,7 +110,7 @@ gboolean secret_password_removev_sync (const SecretSchema *sche
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
void secret_password_free (gpointer password); void secret_password_free (gchar *password);
G_END_DECLS G_END_DECLS