aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
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/calendar.c
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/calendar.c')
-rw-r--r--calendar/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index c53d2f1566..a76d95758f 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -339,10 +339,10 @@ calendar_save (Calendar *cal, char *fname)
}
static gint
-calendar_object_compare_by_start (gpointer a, gpointer b)
+calendar_object_compare_by_start (gconstpointer a, gconstpointer b)
{
- CalendarObject *ca = a;
- CalendarObject *cb = b;
+ const CalendarObject *ca = a;
+ const CalendarObject *cb = b;
time_t diff;
diff = ca->ev_start - cb->ev_start;