aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-main-item.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-08-10 08:17:55 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-08-10 08:17:55 +0800
commit01fa840a36c950fcbd18f11183320a403c5fc903 (patch)
treee0864b31671a818314d228da41d875508db1f231 /calendar/gui/e-day-view-main-item.c
parent09eba6fad0da0db54d594e62420fe4a2c325af22 (diff)
downloadgsoc2013-evolution-01fa840a36c950fcbd18f11183320a403c5fc903.tar.gz
gsoc2013-evolution-01fa840a36c950fcbd18f11183320a403c5fc903.tar.zst
gsoc2013-evolution-01fa840a36c950fcbd18f11183320a403c5fc903.zip
unref the GdkPixmap and GdkBitmap returned by the function
2001-08-09 Rodrigo Moya <rodrigo@ximian.com> * 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
Diffstat (limited to 'calendar/gui/e-day-view-main-item.c')
-rw-r--r--calendar/gui/e-day-view-main-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 54b0baff3a..eb27595bee 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -704,6 +704,10 @@ e_day_view_main_item_draw_day_event (EDayViewMainItem *dvmitem,
MIN (E_DAY_VIEW_ICON_HEIGHT,
max_icon_h));
+ gdk_pixmap_unref (pixmap);
+ if (mask != NULL)
+ gdk_bitmap_unref (mask);
+
icon_x += icon_x_inc;
icon_y += icon_y_inc;
}