passwordentry: Normalize boolean value

This commit is contained in:
Timm Bäder 2019-07-24 08:10:37 +02:00
parent f2a2908c59
commit 0d95c5dfe2

View File

@ -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;