diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-23 12:04:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-23 12:04:56 +0800 |
commit | 9acd121a93cf023501b48992ebe4341d4220301c (patch) | |
tree | 2506a9361c0043d7513d124abdd964467a750b98 /calendar/gui | |
parent | 53d9c34bb570d65740de43f8a711dc6cc53d5977 (diff) | |
download | gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.gz gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.tar.zst gsoc2013-evolution-9acd121a93cf023501b48992ebe4341d4220301c.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/copy-source-dialog.c | 4 | ||||
-rw-r--r-- | calendar/gui/ea-day-view.c | 7 |
2 files changed, 8 insertions, 3 deletions
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 { |