diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
commit | bd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch) | |
tree | b693ad7ec135bd8031458611b5ec485abd866463 /calendar | |
parent | 5f83c587b2da0b9578117796253b7726e98748cc (diff) | |
download | gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.bz2 gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.lz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.xz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-cal-component-preview.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-day-view-layout.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-day-view.h | 6 | ||||
-rw-r--r-- | calendar/gui/print.c | 4 |
4 files changed, 12 insertions, 6 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c index 6720156911..77fa25c995 100644 --- a/calendar/gui/e-cal-component-preview.c +++ b/calendar/gui/e-cal-component-preview.c @@ -72,7 +72,9 @@ clear_comp_info (ECalComponentPreview *preview) /* Stores information about actually shown component and returns whether component in the preview changed */ static gboolean -update_comp_info (ECalComponentPreview *preview, ECal *ecal, ECalComponent *comp) +update_comp_info (ECalComponentPreview *preview, + ECal *ecal, + ECalComponent *comp) { ECalComponentPreviewPrivate *priv; gboolean changed; diff --git a/calendar/gui/e-day-view-layout.c b/calendar/gui/e-day-view-layout.c index 51ced181b7..c11c4f6738 100644 --- a/calendar/gui/e-day-view-layout.c +++ b/calendar/gui/e-day-view-layout.c @@ -256,7 +256,9 @@ e_day_view_layout_day_event (EDayViewEvent *event, for (row = start_row; row <= end_row; row++) { /* resize the array if necessary */ if (e_bit_array_bit_count (grid [row]) <= free_col) - e_bit_array_insert (grid [row], e_bit_array_bit_count (grid [row]), free_col - e_bit_array_bit_count (grid [row]) + 1); + e_bit_array_insert ( + grid [row], e_bit_array_bit_count (grid [row]), + free_col - e_bit_array_bit_count (grid [row]) + 1); e_bit_array_change_one_row (grid [row], free_col, TRUE); cols_per_row[row]++; diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h index 6729186b21..aee8be0683 100644 --- a/calendar/gui/e-day-view.h +++ b/calendar/gui/e-day-view.h @@ -45,7 +45,8 @@ G_BEGIN_DECLS of a normal event. */ #define E_DAY_VIEW_LONG_EVENT E_DAY_VIEW_MAX_DAYS -/* The maximum number of columns of appointments within a day in multi-day view. */ +/* The maximum number of columns of appointments within a day in multi-day + view. */ #define E_DAY_VIEW_MULTI_DAY_MAX_COLUMNS 6 /* minimum width of the event in one-day view in pixels */ @@ -533,7 +534,8 @@ gint e_day_view_get_work_day_end_minute (EDayView *day_view); void e_day_view_set_work_day_end_minute (EDayView *day_view, gint work_day_end_minute); -/* Whether we display the Marcus Bains Line in the main canvas and time canvas. */ +/* Whether we display the Marcus Bains Line in the main canvas and time + canvas. */ void e_day_view_marcus_bains_update (EDayView *day_view); gboolean e_day_view_marcus_bains_get_show_line(EDayView *day_view); void e_day_view_marcus_bains_set_show_line(EDayView *day_view, diff --git a/calendar/gui/print.c b/calendar/gui/print.c index ef511e5913..010a60423b 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -1339,7 +1339,7 @@ print_day_details (GtkPrintContext *context, GnomeCalendar *gcal, time_t whence, /* Right align - 10 comes from print_day_long_event too */ x = right - gdk_pixbuf_get_width (pixbuf) * 0.5 - 10; - /* Placing '...' over the last all day event entry printed. '-1 -1' comes + /* Placing '...' over the last all day event entry printed. '-1 -1' comes from print_long_day_event (top/bottom spacing in each cell) */ y = top + LONG_DAY_EVENTS_TOP_SPACING + DAY_VIEW_ROW_HEIGHT * (i - 1) + (DAY_VIEW_ROW_HEIGHT - 1 - 1) * 0.5; @@ -1358,7 +1358,7 @@ print_day_details (GtkPrintContext *context, GnomeCalendar *gcal, time_t whence, cairo_set_source_rgb (cr, 0, 0, 0); print_border (context, left, right, - top, + top, top + rows_in_top_display * DAY_VIEW_ROW_HEIGHT + LONG_DAY_EVENTS_TOP_SPACING + LONG_DAY_EVENTS_BOTTOM_SPACING, 1.0, -1.0); |