aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-08-04 09:55:18 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-08-04 09:55:18 +0800
commite095ce5ab86387d4b07a45f298fa85e690170456 (patch)
tree6acfeabb2f7db2dff5c4643cc45dd2807adbb4ee /calendar/gui/alarm-notify
parentd19286255db80ef8cc50e8480edd26dea81ea53a (diff)
downloadgsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.gz
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.bz2
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.lz
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.xz
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.zst
gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.zip
Use an array of const strings to keep gcc happy.
1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c (about_calendar_cmd): Use an array of const strings to keep gcc happy. * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy. * calendar.c (calendar_object_compare_by_start): Likewise. * gncal-full-day.c (child_compare_by_start): Likewise. svn path=/trunk/; revision=296
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index 6573a1be3d..280d4125e3 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/alarm.c
@@ -61,10 +61,10 @@ alarm_ready (void *closure, int fd, GdkInputCondition cond)
}
static int
-alarm_compare_by_time (gpointer a, gpointer b)
+alarm_compare_by_time (gconstpointer a, gconstpointer b)
{
- AlarmRecord *ara = a;
- AlarmRecord *arb = b;
+ const AlarmRecord *ara = a;
+ const AlarmRecord *arb = b;
time_t diff;
diff = ara->activation_time - arb->activation_time;