aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm-notify
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /calendar/alarm-notify
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/alarm-notify')
-rw-r--r--calendar/alarm-notify/alarm-queue.c4
-rw-r--r--calendar/alarm-notify/util.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c
index 2f1ad05caf..148bfa973f 100644
--- a/calendar/alarm-notify/alarm-queue.c
+++ b/calendar/alarm-notify/alarm-queue.c
@@ -1724,7 +1724,7 @@ popup_notification (time_t trigger,
if (!qa)
return;
if (!notify_is_initted ())
- notify_init("Evolution Alarm Notify");
+ notify_init ("Evolution Alarm Notify");
/* get a sensible description for the event */
e_cal_component_get_summary (comp, &text);
@@ -2048,7 +2048,7 @@ alarm_queue_init (gpointer data)
g_timeout_add_seconds (1800, (GSourceFunc) check_midnight_refresh, NULL);
#ifdef HAVE_LIBNOTIFY
- notify_init("Evolution Alarms");
+ notify_init ("Evolution Alarms");
#endif
alarm_queue_inited = TRUE;
diff --git a/calendar/alarm-notify/util.c b/calendar/alarm-notify/util.c
index 0eee6d5510..d06df4db05 100644
--- a/calendar/alarm-notify/util.c
+++ b/calendar/alarm-notify/util.c
@@ -67,17 +67,17 @@ calculate_time (time_t start,
hours = difference / 3600;
difference %= 3600;
- times[i++] = g_strdup_printf (ngettext("%d hour", "%d hours", hours), hours);
+ times[i++] = g_strdup_printf (ngettext ("%d hour", "%d hours", hours), hours);
}
if (difference >= 60) {
minutes = difference / 60;
difference %= 60;
- times[i++] = g_strdup_printf (ngettext("%d minute", "%d minutes", minutes), minutes);
+ times[i++] = g_strdup_printf (ngettext ("%d minute", "%d minutes", minutes), minutes);
}
if (i == 0 || difference != 0) {
/* TRANSLATORS: here, "second" is the time division (like "minute"), not the ordinal number (like "third") */
- times[i++] = g_strdup_printf (ngettext("%d second", "%d seconds", difference), (gint)difference);
+ times[i++] = g_strdup_printf (ngettext ("%d second", "%d seconds", difference), (gint) difference);
}
times[i] = NULL;