summaryrefslogtreecommitdiffstats
path: root/python_modules
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-17 10:06:40 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:40 +0100
commit7bf964b56707a91a185ce3ae6f5e942a85746870 (patch)
tree223beac5fdab45df02e6ecef75cc54a7d48fc88d /python_modules
parent7653380e7e3ba4bf6593e473244b1d069f6ffbd3 (diff)
Fix up empty region checks in canvas operations
We rely on not passing on empty rects to the drawing operations by checking for empty regions and exiting early. However the checks were wrongly using pixman_region32_n_rects(region) == 0, whereas we should be using pixman_region32_not_empty().
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions