diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2014-02-16 22:36:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2014-03-03 08:36:01 +0800 |
commit | c53fbc0b8f3b98827d6816a627bdd4d467b84f74 (patch) | |
tree | 10eb8683b6d413f9ae6946dcaf303c29027a84ef /calendar/alarm-notify | |
parent | 1e3d8b5c68754c377c54423f1fb9a322eb3ec9e8 (diff) | |
download | gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.gz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.bz2 gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.lz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.xz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.zst gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.zip |
Miscellaneous cleanups.
Diffstat (limited to 'calendar/alarm-notify')
-rw-r--r-- | calendar/alarm-notify/alarm-notify-dialog.c | 8 | ||||
-rw-r--r-- | calendar/alarm-notify/alarm-queue.c | 2 | ||||
-rw-r--r-- | calendar/alarm-notify/config-data.h | 16 |
3 files changed, 13 insertions, 13 deletions
diff --git a/calendar/alarm-notify/alarm-notify-dialog.c b/calendar/alarm-notify/alarm-notify-dialog.c index 77da377dfc..c28d361481 100644 --- a/calendar/alarm-notify/alarm-notify-dialog.c +++ b/calendar/alarm-notify/alarm-notify-dialog.c @@ -101,7 +101,7 @@ an_update_minutes_label (GtkSpinButton *sb, an = (AlarmNotify *) data; - snooze_timeout_min = gtk_spin_button_get_value_as_int (sb); + snooze_timeout_min = gtk_spin_button_get_value_as_int (sb); gtk_label_set_text (GTK_LABEL (an->minutes_label), ngettext ("minute", "minutes", snooze_timeout_min)); } @@ -114,7 +114,7 @@ an_update_hrs_label (GtkSpinButton *sb, an = (AlarmNotify *) data; - snooze_timeout_hrs = gtk_spin_button_get_value_as_int (sb); + snooze_timeout_hrs = gtk_spin_button_get_value_as_int (sb); gtk_label_set_text (GTK_LABEL (an->hrs_label), ngettext ("hour", "hours", snooze_timeout_hrs)); } @@ -127,7 +127,7 @@ an_update_days_label (GtkSpinButton *sb, an = (AlarmNotify *) data; - snooze_timeout_days = gtk_spin_button_get_value_as_int (sb); + snooze_timeout_days = gtk_spin_button_get_value_as_int (sb); gtk_label_set_text (GTK_LABEL (an->days_label), ngettext ("day", "days", snooze_timeout_days)); } @@ -540,7 +540,7 @@ fill_in_labels (AlarmNotify *an, time_t occur_end) { GtkTextTagTable *table = gtk_text_tag_table_new (); - GtkTextBuffer *buffer = gtk_text_buffer_new (table); + GtkTextBuffer *buffer = gtk_text_buffer_new (table); gtk_text_buffer_set_text (buffer, description, -1); e_buffer_tagger_disconnect (GTK_TEXT_VIEW (an->description)); gtk_text_view_set_buffer (GTK_TEXT_VIEW (an->description), buffer); diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c index bcdaa08e0b..011b78794c 100644 --- a/calendar/alarm-notify/alarm-queue.c +++ b/calendar/alarm-notify/alarm-queue.c @@ -1742,7 +1742,7 @@ display_notification (time_t trigger, if (g_list_length (tray_icons_list) > 1) { gchar *tip; - tip = g_strdup_printf (ngettext ( + tip = g_strdup_printf (ngettext ( "You have %d reminder", "You have %d reminders", g_list_length (tray_icons_list)), g_list_length (tray_icons_list)); diff --git a/calendar/alarm-notify/config-data.h b/calendar/alarm-notify/config-data.h index e9ae052692..e1af223d57 100644 --- a/calendar/alarm-notify/config-data.h +++ b/calendar/alarm-notify/config-data.h @@ -47,14 +47,14 @@ void config_data_init_debugging (void); gboolean config_data_start_debugging (void); void config_data_stop_debugging (void); -#define debug(x) G_STMT_START { \ - if (config_data_start_debugging ()) { \ - g_print ("%s (%s): ", G_STRFUNC, G_STRLOC); \ - g_print x; \ - g_print ("\n"); \ - \ - config_data_stop_debugging (); \ - } \ +#define debug(x) G_STMT_START { \ + if (config_data_start_debugging ()) { \ + g_print ("%s (%s): ", G_STRFUNC, G_STRLOC); \ + g_print x; \ + g_print ("\n"); \ + \ + config_data_stop_debugging (); \ + } \ } G_STMT_END #endif |