mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
Change argument of secret_password_free() to gchar *
This commit is contained in:
parent
d1bc425af9
commit
4f323b2e67
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user