diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
commit | 8771a6de3590d468d1a2c3cfab34955c624f614a (patch) | |
tree | dc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /calendar/gui/print.c | |
parent | 69a1e923a71ee881721e21b991de08b897f9e7b0 (diff) | |
download | gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip |
More code cleanup.
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r-- | calendar/gui/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 659897bda6..6931474349 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -241,7 +241,7 @@ build_month (gint month, gint year, gint *days, gint *start, gint *end) /* Note that months are zero-based, so September is month 8 */ if ((year == 1752) && (month == 8)) { - memcpy (days, sept_1752, 42 * sizeof (int)); + memcpy (days, sept_1752, 42 * sizeof (gint)); if (start) *start = SEPT_1752_START; @@ -817,7 +817,7 @@ print_day_background (GtkPrintContext *context, GnomeCalendar *gcal, row = 0; hour_minute_x = left + width * 0.58; for (i = pdi->start_hour; i < pdi->end_hour; i++) { - y = top + yinc * (row + 1) ; + y = top + yinc * (row + 1); cr = gtk_print_context_get_cairo_context (context); cairo_set_source_rgb (cr, 0, 0, 0); @@ -2635,7 +2635,7 @@ print_comp_draw_real (GtkPrintOperation *operation, categories); top = bound_text (context, font, categories_string, -1, 0.0, top, width, height, TRUE, &page_start, &pages); - top += get_font_size (font) - 6 ; + top += get_font_size (font) - 6; g_free (categories_string); } |