[gtk+] Avoid an uninitialized variable access
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Avoid an uninitialized variable access
- Date: Sun, 16 Jun 2013 03:37:35 +0000 (UTC)
commit 137e6f4d5ff4a86a1f28276fd7431281a54b8c74
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 15 23:36:10 2013 -0400
Avoid an uninitialized variable access
testsuite/gtk/defaultvalue.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 55875a6..f960964 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -92,6 +92,7 @@ test_type (gconstpointer data)
else if (g_type_is_a (type, GDK_TYPE_WINDOW))
{
GdkWindowAttr attributes;
+ attributes.wclass = GDK_INPUT_OUTPUT;
attributes.window_type = GDK_WINDOW_TEMP;
attributes.event_mask = 0;
attributes.width = 100;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]