summaryrefslogtreecommitdiffstats
path: root/tests/test-pango-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pango-layout.c')
-rw-r--r--tests/test-pango-layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-pango-layout.c b/tests/test-pango-layout.c
index 9664710..280a36a 100644
--- a/tests/test-pango-layout.c
+++ b/tests/test-pango-layout.c
@@ -91,10 +91,13 @@ expose(GtkWidget *darea,
gdk_draw_layout (darea->window, gc, 0, y, layout);
+ gdk_display_sync(gdk_display_get_default());
+
y += 20; /* XXX should be font size though not critical */
}
}
+
finish_clock = GetTimeInMillis();
diff_clock = finish_clock - start_clock;