mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
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().
This commit is contained in:
parent
3961acfb68
commit
a75c6faf03
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user