Avoid an uninitialized variable access

This commit is contained in:
Matthias Clasen 2013-06-15 23:36:10 -04:00
parent 945e7a08f3
commit 137e6f4d5f

View File

@ -92,6 +92,7 @@ test_type (gconstpointer data)
else if (g_type_is_a (type, GDK_TYPE_WINDOW)) else if (g_type_is_a (type, GDK_TYPE_WINDOW))
{ {
GdkWindowAttr attributes; GdkWindowAttr attributes;
attributes.wclass = GDK_INPUT_OUTPUT;
attributes.window_type = GDK_WINDOW_TEMP; attributes.window_type = GDK_WINDOW_TEMP;
attributes.event_mask = 0; attributes.event_mask = 0;
attributes.width = 100; attributes.width = 100;