aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
commitc30d29425eccafea02e95ea6e81679508c878784 (patch)
tree43881a8ae0b03d55cc6facac3b4e6375524c7c4c /calendar/gui
parent6c7520b73d1360504672804ebeba6c4de18de318 (diff)
downloadgsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.gz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.bz2
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.lz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.xz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.zst
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c2
-rw-r--r--calendar/gui/print.c17
2 files changed, 12 insertions, 7 deletions
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);
}
}