forked from AuroraMiddleware/gtk
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:
parent
a0ab93ca13
commit
8ebf278ebb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user