summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2006-03-08 15:37:07 +0000
committerMichael Natterer <mitch@src.gnome.org>2006-03-08 15:37:07 +0000
commita75c6faf03f22800dc88f421e6b901dd5e1079c5 (patch)
treeb7e52755376a66e50fa7161a9733b31f38f7bc00 /tests
parent3961acfb68d116e134f7697f27c162899be6d794 (diff)
downloadgdk-pixbuf-a75c6faf03f22800dc88f421e6b901dd5e1079c5.tar.gz
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().
Diffstat (limited to 'tests')
-rw-r--r--tests/prop-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prop-editor.c b/tests/prop-editor.c
index 76d5a0f43..eefd00420 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;