aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 3d810ef7e8..5f0d7fc634 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -704,16 +704,16 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem,
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_WEEK_VIEW_ICON_WIDTH,
E_WEEK_VIEW_ICON_HEIGHT);
icon_x += icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);
@@ -1388,16 +1388,16 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem,
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_WEEK_VIEW_ICON_WIDTH,
E_WEEK_VIEW_ICON_HEIGHT);
icon_x += icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
cairo_destroy (cr);