mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-03 10:38:52 +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:
|
* 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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user