aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-util.h
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-10-07 09:26:26 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-10-07 09:26:26 +0800
commitf1b6fa21b9bfb030ad838f36abf2107ae190036c (patch)
tree8f0f95bdf136865d444cbad7fdf799ab228fe159 /calendar/gui/comp-util.h
parente093117ef673e80c54e603ee0ed1dbd487a4bcb6 (diff)
downloadgsoc2013-evolution-f1b6fa21b9bfb030ad838f36abf2107ae190036c.tar.gz
gsoc2013-evolution-f1b6fa21b9bfb030ad838f36abf2107ae190036c.tar.zst
gsoc2013-evolution-f1b6fa21b9bfb030ad838f36abf2107ae190036c.zip
** Fix for bug #455862 Plugged memory leaks.
2007-10-07 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455862 Plugged memory leaks. * gui/comp-util.c: * gui/comp-util.h:(cal_comp_util_get_n_icons): A new function to get the number of icons owned by ECalComponent. * gui/e-day-view-main-item.c: * gui/e-day-view.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: Use cal_comp_util_get_n_icons. svn path=/trunk/; revision=34359
Diffstat (limited to 'calendar/gui/comp-util.h')
-rw-r--r--calendar/gui/comp-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/comp-util.h b/calendar/gui/comp-util.h
index 57006765ae..651fde686a 100644
--- a/calendar/gui/comp-util.h
+++ b/calendar/gui/comp-util.h
@@ -36,6 +36,9 @@ gboolean cal_comp_util_compare_event_timezones (ECalComponent *comp,
ECal *client,
icaltimezone *zone);
+/* Returns the number of icons owned by the ECalComponent */
+gint cal_comp_util_get_n_icons (ECalComponent *comp);
+
gboolean cal_comp_is_on_server (ECalComponent *comp,
ECal *client);