diff options
author | Timm Bäder <mail@baedert.org> | 2019-07-24 08:10:37 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-07-24 08:10:37 +0200 |
commit | 0d95c5dfe283aad55a8475aedc7eb126b35597b5 (patch) | |
tree | e8d342a7afa9a2a9edfbd7f0af0e8868c334c9c5 /gtk/gtkpasswordentry.c | |
parent | f2a2908c59e829948c9f91584f94bdadca23c4e7 (diff) | |
download | gtk+-0d95c5dfe283aad55a8475aedc7eb126b35597b5.tar.gz |
passwordentry: Normalize boolean value
Diffstat (limited to 'gtk/gtkpasswordentry.c')
-rw-r--r-- | gtk/gtkpasswordentry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c index 2c6c3553ac..8515ba2b5c 100644 --- a/gtk/gtkpasswordentry.c +++ b/gtk/gtkpasswordentry.c @@ -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; |