parent
989701564a
commit
14a1f6c6d4
@ -0,0 +1,15 @@
|
||||
--- libglade-2.5.1/glade/glade-gtk.c.invisible-char 2006-03-23 09:15:52.000000000 -0500
|
||||
+++ libglade-2.5.1/glade/glade-gtk.c 2006-03-23 09:16:21.000000000 -0500
|
||||
@@ -421,7 +421,11 @@
|
||||
entry_set_invisible_char (GladeXML *xml, GtkWidget *w,
|
||||
const gchar *name, const gchar *value)
|
||||
{
|
||||
- gtk_entry_set_invisible_char (GTK_ENTRY (w), value [0]);
|
||||
+ gunichar c;
|
||||
+
|
||||
+ c = g_utf8_get_char_validated (value, strlen (value));
|
||||
+ if (c > 0)
|
||||
+ gtk_entry_set_invisible_char (GTK_ENTRY (w), c);
|
||||
}
|
||||
|
||||
static void
|
Loading…
Reference in new issue