From 9acd121a93cf023501b48992ebe4341d4220301c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 22 Jan 2010 23:04:56 -0500 Subject: Coding style and whitespace cleanups. --- calendar/gui/dialogs/copy-source-dialog.c | 4 +++- calendar/gui/ea-day-view.c | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c index 49cf8b3ce4..20e779a2a7 100644 --- a/calendar/gui/dialogs/copy-source-dialog.c +++ b/calendar/gui/dialogs/copy-source-dialog.c @@ -42,7 +42,9 @@ show_error (GtkWindow *parent, const gchar *msg) { GtkWidget *dialog; - dialog = gtk_message_dialog_new (parent, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", msg); + dialog = gtk_message_dialog_new ( + parent, 0, GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, "%s", msg); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); } diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c index 1e6842905f..1d0199df3a 100644 --- a/calendar/gui/ea-day-view.c +++ b/calendar/gui/ea-day-view.c @@ -144,7 +144,9 @@ ea_day_view_get_name (AtkObject *accessible) if (n_events >= 1) /* To translators: Here, "It" is either like "Work Week View: July 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */ - event_str = g_strdup_printf (ngettext ("It has %d event.", "It has %d events.", n_events), n_events); + event_str = g_strdup_printf ( + ngettext ("It has %d event.", + "It has %d events.", n_events), n_events); else /* To translators: Here, "It" is either like "Work Week View: July 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */ @@ -243,7 +245,8 @@ ea_day_view_ref_child (AtkObject *accessible, gint index) if (index == 0) { /* index == 0 is the main item */ - atk_object = atk_gobject_accessible_for_object (G_OBJECT (day_view->main_canvas_item)); + atk_object = atk_gobject_accessible_for_object ( + G_OBJECT (day_view->main_canvas_item)); g_object_ref (atk_object); } else { -- cgit v1.2.3