parent
57350f4a58
commit
d9e4b7134d
@ -1,15 +0,0 @@
|
|||||||
--- 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
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up libglade-2.6.2/glade/glade-xml.c.unref libglade-2.6.2/glade/glade-xml.c
|
|
||||||
--- libglade-2.6.2/glade/glade-xml.c.unref 2008-02-19 21:59:52.000000000 -0500
|
|
||||||
+++ libglade-2.6.2/glade/glade-xml.c 2008-02-19 22:00:10.000000000 -0500
|
|
||||||
@@ -256,7 +256,7 @@ glade_xml_new_from_buffer(const char *bu
|
|
||||||
if( !glade_xml_construct_from_buffer(self, buffer, size, root, domain) )
|
|
||||||
{
|
|
||||||
/* Clean up, the parser was unable to load the object */
|
|
||||||
- g_free(self);
|
|
||||||
+ g_object_unref(self);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in new issue