diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-29 23:50:53 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:29 +0800 |
commit | 6af0c53b697c6981c1470c177b2c37e081635258 (patch) | |
tree | 35acd2868077859124e55626ba95f2599f1fdc5c /libgnomecanvas/gnome-canvas.c | |
parent | 5c0b316904b9463623e7d8976e7ef43662b55765 (diff) | |
download | gsoc2013-evolution-6af0c53b697c6981c1470c177b2c37e081635258.tar.gz gsoc2013-evolution-6af0c53b697c6981c1470c177b2c37e081635258.tar.zst gsoc2013-evolution-6af0c53b697c6981c1470c177b2c37e081635258.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c index c28bc824e9..86624f2b99 100644 --- a/libgnomecanvas/gnome-canvas.c +++ b/libgnomecanvas/gnome-canvas.c @@ -160,8 +160,9 @@ gnome_canvas_item_get_type (void) NULL /* value_table */ }; - canvas_item_type = g_type_register_static (G_TYPE_INITIALLY_UNOWNED, "GnomeCanvasItem", - &object_info, 0); + canvas_item_type = g_type_register_static ( + G_TYPE_INITIALLY_UNOWNED, + "GnomeCanvasItem", &object_info, 0); } return canvas_item_type; @@ -1504,7 +1505,7 @@ gnome_canvas_group_draw (GnomeCanvasItem *item, if ((child->flags & GNOME_CANVAS_ITEM_VISIBLE) && ((child->x1 < (x + width)) && (child->y1 < (y + height)) - && (child->x2 > x) + && (child->x2 > x) && (child->y2 > y))) { cairo_save (cr); @@ -2517,7 +2518,9 @@ pick_current_item (GnomeCanvas *canvas, GdkEvent *event) /* find the closest item */ if (canvas->root->flags & GNOME_CANVAS_ITEM_VISIBLE) - canvas->new_current_item = gnome_canvas_item_invoke_point (canvas->root, x, y, cx, cy); + canvas->new_current_item = + gnome_canvas_item_invoke_point ( + canvas->root, x, y, cx, cy); else canvas->new_current_item = NULL; } else |