mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
entry: g_object_notify*( when we change the invisible char
This commit is contained in:
parent
0aae66c15e
commit
a9a2a08162
@ -4539,7 +4539,15 @@ gtk_entry_update_cached_style_values (GtkEntry *entry)
|
|||||||
priv->interior_focus = interior_focus;
|
priv->interior_focus = interior_focus;
|
||||||
|
|
||||||
if (!priv->invisible_char_set)
|
if (!priv->invisible_char_set)
|
||||||
priv->invisible_char = find_invisible_char (GTK_WIDGET (entry));
|
{
|
||||||
|
gunichar ch = find_invisible_char (GTK_WIDGET (entry));
|
||||||
|
|
||||||
|
if (priv->invisible_char != ch)
|
||||||
|
{
|
||||||
|
priv->invisible_char = ch;
|
||||||
|
g_object_notify (G_OBJECT (entry), "invisible-char");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user