summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-07-08 16:59:14 +0200
committerAlexander Larsson <alexl@redhat.com>2009-07-08 18:47:43 +0200
commit8ebf278ebb23799682af45de512667d0473c9067 (patch)
tree75c78627787035ae1360b635e526a7c860719751
parenta0ab93ca1328deef09832d0e3bef00667d37fa32 (diff)
downloadgdk-pixbuf-8ebf278ebb23799682af45de512667d0473c9067.tar.gz
Fix defaultvalue test due to csw
Initialize GdkWindowAttr required fields. This makes sure toplevel windows are not accidentally larger than 16bit.
-rw-r--r--gtk/tests/defaultvalue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index 845149094..3d3b98840 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -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