From ef7dcf5b2abbd92fa5213a3f930ad53b2261adeb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 28 Aug 2010 16:37:10 -0400 Subject: Coding style and whitespace cleanup. --- libgnomecanvas/gnome-canvas.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libgnomecanvas/gnome-canvas.h') diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h index 7d01321ff3..365b625dab 100644 --- a/libgnomecanvas/gnome-canvas.h +++ b/libgnomecanvas/gnome-canvas.h @@ -54,14 +54,14 @@ G_BEGIN_DECLS * [0, 255]. */ -#define GNOME_CANVAS_COLOR(r, g, b) ((((unsigned int) (r) & 0xff) << 24) \ - | (((unsigned int) (g) & 0xff) << 16) \ - | (((unsigned int) (b) & 0xff) << 8) \ +#define GNOME_CANVAS_COLOR(r, g, b) ((((guint) (r) & 0xff) << 24) \ + | (((guint) (g) & 0xff) << 16) \ + | (((guint) (b) & 0xff) << 8) \ | 0xff) -#define GNOME_CANVAS_COLOR_A(r, g, b, a) ((((unsigned int) (r) & 0xff) << 24) \ - | (((unsigned int) (g) & 0xff) << 16) \ - | (((unsigned int) (b) & 0xff) << 8) \ +#define GNOME_CANVAS_COLOR_A(r, g, b, a) ((((guint) (r) & 0xff) << 24) \ + | (((guint) (g) & 0xff) << 16) \ + | (((guint) (b) & 0xff) << 8) \ | ((guint) (a) & 0xff)) typedef struct _GnomeCanvas GnomeCanvas; -- cgit v1.2.3