aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/gtk-compat.h10
-rw-r--r--libgnomecanvas/gailcanvas.c2
-rw-r--r--libgnomecanvas/gnome-canvas.c2
3 files changed, 7 insertions, 7 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
diff --git a/libgnomecanvas/gailcanvas.c b/libgnomecanvas/gailcanvas.c
index fb64204a65..f88debc569 100644
--- a/libgnomecanvas/gailcanvas.c
+++ b/libgnomecanvas/gailcanvas.c
@@ -29,7 +29,7 @@
#include "gailcanvasitemfactory.h"
#include "gailcanvaswidgetfactory.h"
-#include <e-util/gtk-compat.h>
+#include "e-util/gtk-compat.h"
static void gail_canvas_class_init (GailCanvasClass *klass);
static void gail_canvas_real_initialize (AtkObject *obj,
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index 1ca6e5f32f..261a739e59 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -94,7 +94,7 @@
#include "gnome-canvas-marshal.h"
#include "gnome-canvas-marshal.c"
-#include <e-util/gtk-compat.h>
+#include "e-util/gtk-compat.h"
/* We must run our idle update handler *before* GDK wants to redraw. */
#define CANVAS_IDLE_PRIORITY (GDK_PRIORITY_REDRAW - 5)