diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-08-04 09:55:18 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-08-04 09:55:18 +0800 |
commit | e095ce5ab86387d4b07a45f298fa85e690170456 (patch) | |
tree | 6acfeabb2f7db2dff5c4643cc45dd2807adbb4ee /calendar/alarm.c | |
parent | d19286255db80ef8cc50e8480edd26dea81ea53a (diff) | |
download | gsoc2013-evolution-e095ce5ab86387d4b07a45f298fa85e690170456.tar.gz 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/alarm.c')
-rw-r--r-- | calendar/alarm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/alarm.c b/calendar/alarm.c index 6573a1be3d..280d4125e3 100644 --- a/calendar/alarm.c +++ b/calendar/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; |