Fix defaultvalue test due to csw

Initialize GdkWindowAttr required fields. This makes sure toplevel
windows are not accidentally larger than 16bit.
This commit is contained in:
Alexander Larsson 2009-07-08 16:59:14 +02:00
parent a0ab93ca13
commit 8ebf278ebb

View File

@ -102,6 +102,9 @@ test_type (gconstpointer data)
{
GdkWindowAttr attributes;
attributes.window_type = GDK_WINDOW_TEMP;
attributes.event_mask = 0;
attributes.width = 100;
attributes.height = 100;
instance = g_object_ref (gdk_window_new (NULL, &attributes, 0));
}
else