diff options
-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; |