aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-11 09:43:05 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-11 09:43:05 +0800
commit29e5339298f35383c7925a3c6f71942c8e164634 (patch)
tree7d5eaf780ce431f495a45d60ebc0d7c9df95f98b /calendar/gui
parente64c3d71749ceccc235d40980f71f6d3104bf595 (diff)
downloadgsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar.gz
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar.bz2
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar.lz
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar.xz
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.tar.zst
gsoc2013-evolution-29e5339298f35383c7925a3c6f71942c8e164634.zip
free the ecalcomponent after using it.
2005-03-09 Not Zed <NotZed@Ximian.com> * 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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c1
-rw-r--r--calendar/gui/e-week-view-event-item.c1
2 files changed, 2 insertions, 0 deletions
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);
}