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/gncal-full-day.c | |
parent | d19286255db80ef8cc50e8480edd26dea81ea53a (diff) | |
download | gsoc2013-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/gncal-full-day.c')
-rw-r--r-- | calendar/gncal-full-day.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c index ea4fc575da..64e5ec6ef4 100644 --- a/calendar/gncal-full-day.c +++ b/calendar/gncal-full-day.c @@ -2115,10 +2115,10 @@ gncal_full_day_foreach (GtkContainer *container, GtkCallback callback, gpointer } static gint -child_compare_by_start (gpointer a, gpointer b) +child_compare_by_start (gconstpointer a, gconstpointer b) { - Child *ca = a; - Child *cb = b; + const Child *ca = a; + const Child *cb = b; time_t diff; diff = ca->start - cb->start; |