diff options
Diffstat (limited to 'libgnomecanvas/gnome-canvas-rect.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-rect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgnomecanvas/gnome-canvas-rect.c b/libgnomecanvas/gnome-canvas-rect.c index 853992e254..a61c98f3c4 100644 --- a/libgnomecanvas/gnome-canvas-rect.c +++ b/libgnomecanvas/gnome-canvas-rect.c @@ -85,7 +85,9 @@ G_DEFINE_TYPE (GnomeCanvasRect, gnome_canvas_rect, GNOME_TYPE_CANVAS_ITEM) static guint32 get_rgba_from_color (GdkColor *color) { - return ((color->red & 0xff00) << 16) | ((color->green & 0xff00) << 8) | (color->blue & 0xff00) | 0xff; + return ((color->red & 0xff00) << 16) | + ((color->green & 0xff00) << 8) | + (color->blue & 0xff00) | 0xff; } static gboolean |