GdkWindow: Fix debug function print_region

This commit is contained in:
Alexander Larsson 2013-05-15 10:55:14 +02:00
parent 8306d26714
commit 85645e4852

View File

@ -230,6 +230,7 @@ print_region (cairo_region_t *region)
g_string_append_printf (s, "extent: %dx%d @%d,%d, details: ", r.width, r.height, r.x, r.y);
for (i = 0; i < num; i++)
{
cairo_region_get_rectangle (region, i, &r);
g_string_append_printf (s, "[%dx%d @%d,%d]", r.width, r.height, r.x, r.y);
if (i != num -1)
g_string_append (s, ", ");