[nautilus] canvas-container: formatting cleanups
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] canvas-container: formatting cleanups
- Date: Sat, 24 Jan 2015 01:09:47 +0000 (UTC)
commit 1df7c1fbd6a2cb8417062a7da1d73fb9cc43df65
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jan 22 15:02:05 2015 -0800
canvas-container: formatting cleanups
libnautilus-private/nautilus-canvas-container.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-container.c b/libnautilus-private/nautilus-canvas-container.c
index e334d9d..20bd5bd 100644
--- a/libnautilus-private/nautilus-canvas-container.c
+++ b/libnautilus-private/nautilus-canvas-container.c
@@ -1272,13 +1272,13 @@ lay_down_icons_horizontal (NautilusCanvasContainer *container,
/* Assume it's only one level hierarchy to avoid costly affine calculations */
nautilus_canvas_item_get_bounds_for_layout (icon->item,
- &bounds.x0, &bounds.y0,
- &bounds.x1, &bounds.y1);
+ &bounds.x0, &bounds.y0,
+ &bounds.x1, &bounds.y1);
- icon_bounds = nautilus_canvas_item_get_icon_rectangle (icon->item);
icon_width = ceil ((bounds.x1 - bounds.x0)/grid_width) * grid_width;
-
+
/* Calculate size above/below baseline */
+ icon_bounds = nautilus_canvas_item_get_icon_rectangle (icon->item);
height_above = icon_bounds.y1 - bounds.y0;
height_below = bounds.y1 - icon_bounds.y1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]