Commit a75c6faf authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer
Browse files

zero-initialize the GValue before calling g_value_init().

2006-03-08  Michael Natterer  <mitch@imendio.com>

	* tests/prop-editor.c (unichar_changed): zero-initialize the
	GValue before calling g_value_init().
parent 3961acfb
2006-03-08 Michael Natterer <mitch@imendio.com>
* tests/prop-editor.c (unichar_changed): zero-initialize the
GValue before calling g_value_init().
2006-03-08 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
......
2006-03-08 Michael Natterer <mitch@imendio.com>
* tests/prop-editor.c (unichar_changed): zero-initialize the
GValue before calling g_value_init().
2006-03-08 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
......
......@@ -486,7 +486,7 @@ unichar_changed (GObject *object, GParamSpec *pspec, gpointer data)
GtkEntry *entry = GTK_ENTRY (data);
gunichar new_val;
gunichar old_val = unichar_get_value (entry);
GValue val;
GValue val = { 0, };
gchar buf[7];
gint len;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment