aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-08 20:05:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-08 20:28:09 +0800
commit58ef54715147561c2b8d458dd75c44223c46ac10 (patch)
tree56fff6b4e7f64b2a62641e065e465bbac4f6bfcc /calendar
parent0ccccead12fae581ea9be349154928c1215896d5 (diff)
downloadgsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.gz
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.bz2
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.lz
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.xz
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.zst
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/comp-editor.c24
-rw-r--r--calendar/gui/e-meeting-store.c4
-rw-r--r--calendar/gui/ea-week-view-cell.c14
-rw-r--r--calendar/gui/itip-utils.c3
4 files changed, 23 insertions, 22 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 7a566e85ac..dd58b86ce6 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1061,19 +1061,19 @@ save_and_close_editor (CompEditor *editor,
switch (source_type) {
case (E_CAL_CLIENT_SOURCE_TYPE_TASKS):
msg = g_strdup_printf (
- _("Unable to retrieve saved component from the task list, returned error was: %s"),
- error->message);
+ _("Unable to retrieve saved component from the task list, returned error was: %s"),
+ error->message);
break;
case (E_CAL_CLIENT_SOURCE_TYPE_MEMOS):
msg = g_strdup_printf (
- _("Unable to retrieve saved component from the memo list, returned error was: %s"),
- error->message);
+ _("Unable to retrieve saved component from the memo list, returned error was: %s"),
+ error->message);
break;
case (E_CAL_CLIENT_SOURCE_TYPE_EVENTS):
default:
msg = g_strdup_printf (
- _("Unable to retrieve saved component from the calendar, returned error was: %s"),
- error->message);
+ _("Unable to retrieve saved component from the calendar, returned error was: %s"),
+ error->message);
break;
}
g_clear_error (&error);
@@ -1081,16 +1081,16 @@ save_and_close_editor (CompEditor *editor,
switch (source_type) {
case (E_CAL_CLIENT_SOURCE_TYPE_TASKS):
msg = g_strdup (
- _("Unable to retrieve saved component from the task list"));
+ _("Unable to retrieve saved component from the task list"));
break;
case (E_CAL_CLIENT_SOURCE_TYPE_MEMOS):
msg = g_strdup (
- _("Unable to retrieve saved component from the memo list"));
+ _("Unable to retrieve saved component from the memo list"));
break;
case (E_CAL_CLIENT_SOURCE_TYPE_EVENTS):
default:
msg = g_strdup (
- _("Unable to retrieve saved component from the calendar"));
+ _("Unable to retrieve saved component from the calendar"));
break;
}
}
@@ -1111,16 +1111,16 @@ save_and_close_editor (CompEditor *editor,
switch (source_type) {
case (E_CAL_CLIENT_SOURCE_TYPE_TASKS):
msg = g_strdup (
- _("Unable to update the editor with the retrieved component from the task list"));
+ _("Unable to update the editor with the retrieved component from the task list"));
break;
case (E_CAL_CLIENT_SOURCE_TYPE_MEMOS):
msg = g_strdup (
- _("Unable to update the editor with the retrieved component from the memo list"));
+ _("Unable to update the editor with the retrieved component from the memo list"));
break;
case (E_CAL_CLIENT_SOURCE_TYPE_EVENTS):
default:
msg = g_strdup (
- _("Unable to update the editor with the retrieved component from the calendar"));
+ _("Unable to update the editor with the retrieved component from the calendar"));
break;
}
e_notice (GTK_WINDOW (editor), GTK_MESSAGE_ERROR, "%s", msg);
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 6abb1371b5..695188f6cd 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1568,8 +1568,8 @@ freebusy_async (gpointer data)
fbd->client, fbd->startt,
fbd->endt, fbd->users, NULL, NULL);
/* This is to workaround broken dispatch of "free-busy-data" signal,
- introduced in 3.8.0. This code can be removed once the below bug is
- properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
+ * introduced in 3.8.0. This code can be removed once the below bug is
+ * properly fixed: https://bugzilla.gnome.org/show_bug.cgi?id=692361
*/
g_usleep (G_USEC_PER_SEC / 10);
g_signal_handler_disconnect (fbd->client, sigid);
diff --git a/calendar/gui/ea-week-view-cell.c b/calendar/gui/ea-week-view-cell.c
index ff83c00da6..0f3133f512 100644
--- a/calendar/gui/ea-week-view-cell.c
+++ b/calendar/gui/ea-week-view-cell.c
@@ -70,8 +70,8 @@ e_week_view_cell_class_init (EWeekViewCellClass *class)
EWeekViewCell *
e_week_view_cell_new (EWeekView *week_view,
- gint row,
- gint column)
+ gint row,
+ gint column)
{
GObject *object;
EWeekViewCell *cell;
@@ -348,11 +348,11 @@ atk_component_interface_init (AtkComponentIface *iface)
static void
component_interface_get_extents (AtkComponent *component,
- gint *x,
- gint *y,
- gint *width,
- gint *height,
- AtkCoordType coord_type)
+ gint *x,
+ gint *y,
+ gint *width,
+ gint *height,
+ AtkCoordType coord_type)
{
GObject *g_obj;
AtkObject *atk_obj;
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 97e582a8db..0ae5b45e5e 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -774,7 +774,8 @@ comp_to_list (ESourceRegistry *registry,
if (organizer.value && (!sender || g_ascii_strcasecmp (
itip_strip_mailto (organizer.value), sender) != 0)) {
destination = e_destination_new ();
- e_destination_set_email (destination,
+ e_destination_set_email (
+ destination,
itip_strip_mailto (organizer.value));
if (organizer.cn)
e_destination_set_name (destination, organizer.cn);