25 lines
928 B
Diff
25 lines
928 B
Diff
diff -up evolution-2.31.5/e-util/gtk-compat.h.gtk-compat-crash evolution-2.31.5/e-util/gtk-compat.h
|
|
--- evolution-2.31.5/e-util/gtk-compat.h.gtk-compat-crash 2010-07-11 18:26:08.000000000 -0400
|
|
+++ evolution-2.31.5/e-util/gtk-compat.h 2010-07-22 11:51:55.076484868 -0400
|
|
@@ -55,15 +55,15 @@ typedef enum {
|
|
#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
|
|
|