From 01fa840a36c950fcbd18f11183320a403c5fc903 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 10 Aug 2001 00:17:55 +0000 Subject: unref the GdkPixmap and GdkBitmap returned by the function 2001-08-09 Rodrigo Moya * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): unref the GdkPixmap and GdkBitmap returned by the function e_categories_config_get_icon_for () svn path=/trunk/; revision=11859 --- calendar/gui/e-day-view-top-item.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui/e-day-view-top-item.c') diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c index 5c479fc020..405ef31af0 100644 --- a/calendar/gui/e-day-view-top-item.c +++ b/calendar/gui/e-day-view-top-item.c @@ -603,6 +603,10 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem, E_DAY_VIEW_ICON_HEIGHT); icon_x -= icon_x_inc; } + + gdk_pixmap_unref (pixmap); + if (mask != NULL) + gdk_bitmap_unref (mask); } cal_component_free_categories_list (categories_list); -- cgit