summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 6e149dc5dc..335024b8d2 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2758,6 +2758,10 @@ create_image (void)
GdkBitmap *mask;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ /* this is bogus for testing drawing when allocation < request,
+ * don't copy into real code
+ */
+ gtk_window_set_policy (GTK_WINDOW (window), TRUE, TRUE, FALSE);
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC(gtk_widget_destroyed),