diff options
author | Damon Chaplin <damon@ximian.com> | 2001-10-24 05:36:35 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-10-24 05:36:35 +0800 |
commit | 1451bdffda8a87d6053519ab868ff778d7fb0e01 (patch) | |
tree | 429ee52ed2d6873ab5c3a43226997cf25ecdabba /calendar/gui | |
parent | 1bf22141608121ef5d1b9f9d354b14068999fc8a (diff) | |
download | gsoc2013-evolution-1451bdffda8a87d6053519ab868ff778d7fb0e01.tar.gz gsoc2013-evolution-1451bdffda8a87d6053519ab868ff778d7fb0e01.tar.zst gsoc2013-evolution-1451bdffda8a87d6053519ab868ff778d7fb0e01.zip |
make sure we free all the CalComponentDateTime's when we are finished.
2001-10-23 Damon Chaplin <damon@ximian.com>
* cal-util/cal-component.c (cal_component_event_dates_match): make sure
we free all the CalComponentDateTime's when we are finished.
* gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just
return if no time range is set.
svn path=/trunk/; revision=13957
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/gnome-cal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 1790739853..28556ba522 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2554,7 +2554,10 @@ gnome_calendar_notify_dates_shown_changed (GnomeCalendar *gcal) priv = gcal->priv; - gnome_calendar_get_visible_time_range (gcal, &start_time, &end_time); + /* If no time range is set yet, just return. */ + if (!gnome_calendar_get_visible_time_range (gcal, &start_time, + &end_time)) + return; /* We check if the visible date range has changed, and only emit the signal if it has. (This makes sure we only change the folder title |