diff --git a/ChangeLog b/ChangeLog index ef7c5e731b..98237a68da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-08 Michael Natterer + + * tests/prop-editor.c (unichar_changed): zero-initialize the + GValue before calling g_value_init(). + 2006-03-08 Michael Natterer * gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ef7c5e731b..98237a68da 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-03-08 Michael Natterer + + * tests/prop-editor.c (unichar_changed): zero-initialize the + GValue before calling g_value_init(). + 2006-03-08 Michael Natterer * gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the diff --git a/tests/prop-editor.c b/tests/prop-editor.c index 76d5a0f439..eefd00420e 100644 --- a/tests/prop-editor.c +++ b/tests/prop-editor.c @@ -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;