aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-alarm-list.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:41:30 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:41:30 +0800
commit79f8ecbd0d28dfb399e2275a3a18d8ed96415232 (patch)
treee6275d5b92d89797b43bf24c7abfa07dac9f0aa4 /calendar/gui/e-alarm-list.c
parentf2db40b45db31c41660bb692bc91f90c49c6939e (diff)
downloadgsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.gz
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.tar.zst
gsoc2013-evolution-79f8ecbd0d28dfb399e2275a3a18d8ed96415232.zip
Fixes bug #357970
2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * gui/e-alarm-list.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-meeting-attendee.c: * gui/e-meeting-store.c: * gui/e-meeting-time-sel-item.c: * gui/e-meeting-time-sel.c: * gui/e-week-view-main-item.c: * gui/e-week-view.c: * gui/gnome-cal.c: * gui/goto.c: * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33045
Diffstat (limited to 'calendar/gui/e-alarm-list.c')
-rw-r--r--calendar/gui/e-alarm-list.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c
index 8cfbaaa366..4b05579abf 100644
--- a/calendar/gui/e-alarm-list.c
+++ b/calendar/gui/e-alarm-list.c
@@ -393,31 +393,31 @@ get_alarm_duration_string (struct icaldurationtype *duration)
if (duration->days >= 1) {
/* Translator: Entire string is like "Pop up an alert %d days before start of appointment" */
- g_string_sprintf (string, ngettext("%d day", "%d days", duration->days), duration->days);
+ g_string_printf (string, ngettext("%d day", "%d days", duration->days), duration->days);
have_something = TRUE;
}
if (duration->weeks >= 1) {
/* Translator: Entire string is like "Pop up an alert %d weeks before start of appointment" */
- g_string_sprintf (string, ngettext("%d week","%d weeks", duration->weeks), duration->weeks);
+ g_string_printf (string, ngettext("%d week","%d weeks", duration->weeks), duration->weeks);
have_something = TRUE;
}
if (duration->hours >= 1) {
/* Translator: Entire string is like "Pop up an alert %d hours before start of appointment" */
- g_string_sprintf (string, ngettext("%d hour", "%d hours", duration->hours), duration->hours);
+ g_string_printf (string, ngettext("%d hour", "%d hours", duration->hours), duration->hours);
have_something = TRUE;
}
if (duration->minutes >= 1) {
/* Translator: Entire string is like "Pop up an alert %d minutes before start of appointment" */
- g_string_sprintf (string, ngettext("%d minute", "%d minutes", duration->minutes), duration->minutes);
+ g_string_printf (string, ngettext("%d minute", "%d minutes", duration->minutes), duration->minutes);
have_something = TRUE;
}
if (duration->seconds >= 1) {
/* Translator: Entire string is like "Pop up an alert %d seconds before start of appointment" */
- g_string_sprintf (string, ngettext("%d second", "%d seconds", duration->seconds), duration->seconds);
+ g_string_printf (string, ngettext("%d second", "%d seconds", duration->seconds), duration->seconds);
have_something = TRUE;
}