mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
passwordentry: Normalize boolean value
This commit is contained in:
parent
f2a2908c59
commit
0d95c5dfe2
@ -470,6 +470,8 @@ gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry,
|
||||
|
||||
g_return_if_fail (GTK_IS_PASSWORD_ENTRY (entry));
|
||||
|
||||
show_peek_icon = !!show_peek_icon;
|
||||
|
||||
if (show_peek_icon == (priv->peek_icon != NULL))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user