diff options
author | Milan Crha <mcrha@redhat.com> | 2009-02-20 18:46:50 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-02-20 18:46:50 +0800 |
commit | 0842ee913edc381b2220023f768d64474c19b5a5 (patch) | |
tree | 3273f442049f5ad44c85af0120277e041b593d5c /calendar | |
parent | 1c788c3de7cf68caf06cea1525ad42cff4eb4cf0 (diff) | |
download | gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar.gz gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar.bz2 gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar.lz gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar.xz gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.tar.zst gsoc2013-evolution-0842ee913edc381b2220023f768d64474c19b5a5.zip |
** Fix for bug #567949
2009-02-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #567949
* gui/e-day-view.c: (set_text_as_bold):
* gui/e-week-view.c: (set_text_as_bold):
Do not free memory before done with it.
svn path=/trunk/; revision=37298
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 7 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 7 |
3 files changed, 16 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8130b5856d..1abebef1a2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2009-02-20 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #567949 + + * gui/e-day-view.c: (set_text_as_bold): + * gui/e-week-view.c: (set_text_as_bold): + Do not free memory before done with it. + 2009-02-19 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #572348 diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index e86d862414..9060fa2999 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1819,15 +1819,16 @@ set_text_as_bold (EDayViewEvent *event) break; } } - e_cal_component_free_attendee_list (attendees); - g_free (address); - g_object_unref (comp); /* The attendee has not yet accepted the meeting, display the summary as bolded. If the attendee is not present, it might have come through a mailing list. In that case, we never show the meeting as bold even if it is unaccepted. */ if (at && (at->status == ICAL_PARTSTAT_NEEDSACTION)) gnome_canvas_item_set (event->canvas_item, "bold", TRUE, NULL); + + e_cal_component_free_attendee_list (attendees); + g_free (address); + g_object_unref (comp); } /* This updates the text shown for an event. If the event start or end do not diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index f9328f1c97..37d7dbe645 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1898,15 +1898,16 @@ set_text_as_bold (EWeekViewEvent *event, EWeekViewEventSpan *span) break; } } - e_cal_component_free_attendee_list (attendees); - g_free (address); - g_object_unref (comp); /* The attendee has not yet accepted the meeting, display the summary as bolded. If the attendee is not present, it might have come through a mailing list. In that case, we never show the meeting as bold even if it is unaccepted. */ if (at && (at->status == ICAL_PARTSTAT_NEEDSACTION)) gnome_canvas_item_set (span->text_item, "bold", TRUE, NULL); + + e_cal_component_free_attendee_list (attendees); + g_free (address); + g_object_unref (comp); } /* This calls a given function for each event instance that matches the given |