aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-27 05:19:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-27 05:19:41 +0800
commit0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110 (patch)
treed282033033e0fd8bb3c1632084d4c09f90dbbb2b /calendar/gui/e-week-view-event-item.c
parent3f213cfbef9142d117fbd9219cf12cbecc39f59e (diff)
downloadgsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.gz
gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.tar.zst
gsoc2013-evolution-0b1cd2dd5b0b2b35a0c12032b54ac51b97b22110.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index ba44b7a24a..ae3fadfd59 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -195,10 +195,13 @@ week_view_event_item_button_press (EWeekViewEventItem *event_item,
if (!is_array_index_in_bounds (week_view->events, event_item->priv->event_num))
return FALSE;
- event = &g_array_index (week_view->events, EWeekViewEvent,
- event_item->priv->event_num);
+ event = &g_array_index (
+ week_view->events, EWeekViewEvent,
+ event_item->priv->event_num);
- if (!is_array_index_in_bounds (week_view->spans, event->spans_index + event_item->priv->span_num))
+ if (!is_array_index_in_bounds (
+ week_view->spans, event->spans_index +
+ event_item->priv->span_num))
return FALSE;
span = &g_array_index (week_view->spans, EWeekViewEventSpan,
@@ -759,11 +762,14 @@ week_view_event_item_draw (GnomeCanvasItem *canvas_item,
event->spans_index + event_item->priv->span_num <
week_view->spans->len);
- if (!is_array_index_in_bounds (week_view->spans, event->spans_index + event_item->priv->span_num))
+ if (!is_array_index_in_bounds (
+ week_view->spans, event->spans_index +
+ event_item->priv->span_num))
return;
- span = &g_array_index (week_view->spans, EWeekViewEventSpan,
- event->spans_index + event_item->priv->span_num);
+ span = &g_array_index (
+ week_view->spans, EWeekViewEventSpan,
+ event->spans_index + event_item->priv->span_num);
gc = week_view->main_gc;