From c30d29425eccafea02e95ea6e81679508c878784 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 1 May 2010 23:18:28 -0400 Subject: Coding style and whitespace cleanup. --- calendar/gui/gnome-cal.c | 2 -- calendar/gui/print.c | 17 ++++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'calendar') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index bc270d2d97..f7ab89bec0 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1007,7 +1007,6 @@ struct _date_query_msg { GnomeCalendar *gcal; }; - static void free_dn_queries (GnomeCalendar *gcal) { @@ -1455,7 +1454,6 @@ gnome_calendar_do_dispose (GObject *object) gcal = GNOME_CALENDAR (object); priv = gcal->priv; - if (priv->model != NULL) { g_signal_handlers_disconnect_by_func ( priv->model, view_progress_cb, gcal); diff --git a/calendar/gui/print.c b/calendar/gui/print.c index f563168d5e..0b3f8003c9 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -2415,26 +2415,33 @@ print_date_label (GtkPrintContext *context, ECalComponent *comp, ECal *client, write_label_piece (start, buffer, 1024, NULL, NULL); if (end > 0 && start > 0) { - /* Translators: This is part of "START to END" text, where START and END are date/times */ + /* Translators: This is part of "START to END" text, + * where START and END are date/times. */ write_label_piece (end, buffer, 1024, _(" to "), NULL); } if (complete > 0) { if (start > 0) { - /* Translators: This is part of "START to END (Completed COMPLETED)", where COMPLETED is a completed date/time */ + /* Translators: This is part of "START to END + * (Completed COMPLETED)", where COMPLETED is a + * completed date/time. */ write_label_piece (complete, buffer, 1024, _(" (Completed "), ")"); } else { - /* Translators: This is part of "Completed COMPLETED", where COMPLETED is a completed date/time */ + /* Translators: This is part of "Completed COMPLETED", + * where COMPLETED is a completed date/time. */ write_label_piece (complete, buffer, 1024, _("Completed "), NULL); } } if (due > 0 && complete == 0) { if (start > 0) { - /* Translators: This is part of "START (Due DUE)", where START and DUE are dates/times */ + /* Translators: This is part of "START (Due DUE)", + * where START and DUE are dates/times. */ write_label_piece (due, buffer, 1024, _(" (Due "), ")"); } else { - /* Translators: This is part of "Due DUE", where DUE is a date/time due the event should be finished */ + /* Translators: This is part of "Due DUE", + * where DUE is a date/time due the event + * should be finished. */ write_label_piece (due, buffer, 1024, _("Due "), NULL); } } -- cgit v1.2.3