aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-day-view.c1
-rw-r--r--calendar/gui/e-week-view-event-item.c1
3 files changed, 8 insertions, 1 deletions
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 <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.
+
2005-03-08 Chenthill Palanisamy <pchenthill@novell.com>
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 <kharish@novell.com>
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);
}