From 29e5339298f35383c7925a3c6f71942c8e164634 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 11 Mar 2005 01:43:05 +0000 Subject: free the ecalcomponent after using it. 2005-03-09 Not Zed * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view.c (e_day_view_reshape_day_event): free the ecalcomponent after using it. svn path=/trunk/; revision=28998 --- calendar/ChangeLog | 7 ++++++- calendar/gui/e-day-view.c | 1 + calendar/gui/e-week-view-event-item.c | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d533122b16..d99d4fbe51 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-03-09 Not Zed + + * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): + * gui/e-day-view.c (e_day_view_reshape_day_event): free the ecalcomponent + after using it. + 2005-03-08 Chenthill Palanisamy Fixes #73141 @@ -28,7 +34,6 @@ (open_alarm_dialog): store the dialog returned by alarm_notify_dialog(). (tray_icon_destroyed_cb): destroy the dialog if still around. ->>>>>>> 1.2682 2005-02-28 Harish Krishnaswamy Fixes #69556 diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 73b57432cf..860b9e4297 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -4475,6 +4475,7 @@ e_day_view_reshape_day_event (EDayView *day_view, num_icons++; } e_cal_component_free_categories_list (categories_list); + g_object_unref(comp); } if (num_icons > 0) { diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c index e4ace7961e..13e2d14142 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -721,6 +721,7 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem, } e_cal_component_free_categories_list (categories_list); + g_object_unref(comp); gdk_gc_set_clip_mask (gc, NULL); } -- cgit v1.2.3