aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-11-08 10:13:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-11-08 10:13:03 +0800
commita891b81cfb3430a764dab0d5644114c4dab22297 (patch)
treede13086dc548fc1fc7dd626e115563baf97eb747 /calendar/gui/e-week-view-event-item.c
parentb5bd3ae53c7f34112557668979cb2c7052d2790b (diff)
downloadgsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.gz
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.bz2
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.lz
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.xz
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.zst
gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 569449fe34..8a525ebfd6 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -329,13 +329,13 @@ week_view_draw_time (EWeekView *week_view,
/* Draw the hour. */
if (hour_to_display < 10) {
pango_layout_set_text (layout, buffer + 1, 1);
- cairo_move_to (cr,
+ cairo_move_to (cr,
time_x + week_view->digit_width,
time_y_normal_font);
pango_cairo_show_layout (cr, layout);
} else {
pango_layout_set_text (layout, buffer, 2);
- cairo_move_to (cr,
+ cairo_move_to (cr,
time_x,
time_y_normal_font);
pango_cairo_show_layout (cr, layout);
@@ -346,7 +346,7 @@ week_view_draw_time (EWeekView *week_view,
/* Draw the start minute, in the small font. */
pango_layout_set_font_description (layout, week_view->small_font_desc);
pango_layout_set_text (layout, buffer + 3, 2);
- cairo_move_to (cr,
+ cairo_move_to (cr,
time_x,
time_y_small_font);
pango_cairo_show_layout (cr, layout);
@@ -359,7 +359,7 @@ week_view_draw_time (EWeekView *week_view,
if (!e_cal_model_get_use_24_hour_format (model)) {
pango_layout_set_text (layout, suffix, -1);
- cairo_move_to (cr,
+ cairo_move_to (cr,
time_x,
time_y_normal_font);
pango_cairo_show_layout (cr, layout);
@@ -1051,9 +1051,9 @@ week_view_event_item_draw (GnomeCanvasItem *canvas_item,
cairo_rectangle (cr,
x1, y1,
- x2 - x1 - E_WEEK_VIEW_EVENT_R_PAD
- - E_WEEK_VIEW_EVENT_BORDER_WIDTH + 1,
- y2 - y1 + 1);
+ x2 - x1 - E_WEEK_VIEW_EVENT_R_PAD
+ - E_WEEK_VIEW_EVENT_BORDER_WIDTH + 1,
+ y2 - y1 + 1);
cairo_clip (cr);
week_view_draw_time (