diff options
Diffstat (limited to 'e-util/gtk-compat.h')
-rw-r--r-- | e-util/gtk-compat.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h index 3e531b2b1f..7dc61f3a84 100644 --- a/e-util/gtk-compat.h +++ b/e-util/gtk-compat.h @@ -53,15 +53,15 @@ #define gdk_region_get_rectangles(region, rectangles, n_rectangles) \ G_STMT_START { \ GdkRectangle *__rects; \ - gint __i, __n; \ + gint __i, __nrects; \ \ - __n = cairo_region_num_rectangles (region); \ - __rects = g_new (GdkRectangle, __n); \ + __nrects = cairo_region_num_rectangles (region); \ + __rects = g_new (GdkRectangle, __nrects); \ \ - for (__i = 0; __i < __n; __i++) \ + for (__i = 0; __i < __nrects; __i++) \ cairo_region_get_rectangle ((region), __i, &__rects[__i]); \ \ - *(n_rectangles) = __n; \ + *(n_rectangles) = __nrects; \ *(rectangles) = __rects; \ } G_STMT_END |