summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-13 17:53:30 +0100
committerinfirit <[email protected]>2014-11-13 17:53:30 +0100
commit01b9a56786ac17a68d00851c7c9c0fb80f94a6ae (patch)
tree6cf42cc08dc9f7a0b20ec041267b05d66784daca
parent939f5a3f49b9ed5299eb4aa6be56842cef049b9e (diff)
downloadmate-utils-01b9a56786ac17a68d00851c7c9c0fb80f94a6ae.tar.bz2
mate-utils-01b9a56786ac17a68d00851c7c9c0fb80f94a6ae.tar.xz
Gtk+3: Fix build, closes #77
-rw-r--r--mate-screenshot/screenshot-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-screenshot/screenshot-utils.c b/mate-screenshot/screenshot-utils.c
index f226b0b5..92391d6b 100644
--- a/mate-screenshot/screenshot-utils.c
+++ b/mate-screenshot/screenshot-utils.c
@@ -697,7 +697,7 @@ blank_region_in_pixbuf (GdkPixbuf *pixbuf, GdkRegion *region)
for (i = 0; i < n_rects; i++)
{
#if GTK_CHECK_VERSION (3, 0, 0)
- cairo_rectangle_int_t rect;
+ cairo_rectangle_int_t rect, dest;
cairo_region_get_rectangle (region, i, &rect);
if (gdk_rectangle_intersect (&rect, &pixbuf_rect, &dest))