From 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 10:29:19 -0400 Subject: Prefer GLib basic types over C types. --- calendar/gui/e-alarm-list.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'calendar/gui/e-alarm-list.c') diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c index d60fab913e..32e5b4214a 100644 --- a/calendar/gui/e-alarm-list.c +++ b/calendar/gui/e-alarm-list.c @@ -380,11 +380,11 @@ e_alarm_list_get_path (GtkTreeModel *tree_model, } /* Builds a string for the duration of the alarm. If the duration is zero, returns NULL. */ -static char * +static gchar * get_alarm_duration_string (struct icaldurationtype *duration) { GString *string = g_string_new (NULL); - char *ret; + gchar *ret; gboolean have_something; have_something = FALSE; @@ -429,12 +429,12 @@ get_alarm_duration_string (struct icaldurationtype *duration) } } -static char * +static gchar * get_alarm_string (ECalComponentAlarm *alarm) { ECalComponentAlarmAction action; ECalComponentAlarmTrigger trigger; - char *base, *str = NULL, *dur; + gchar *base, *str = NULL, *dur; e_cal_component_alarm_get_action (alarm, &action); e_cal_component_alarm_get_trigger (alarm, &trigger); @@ -516,7 +516,7 @@ get_alarm_string (ECalComponentAlarm *alarm) struct icaltimetype itt; icaltimezone *utc_zone, *current_zone; struct tm tm; - char buf[256]; + gchar buf[256]; /* Absolute triggers come in UTC, so convert them to the local timezone */ -- cgit v1.2.3