From 10a99ada7f32b3b7e2f54ce46846e7529804ba53 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 8 Aug 2001 19:39:56 +0000 Subject: don't use a NULL mask in the call to gdk_gc_set_clip_mask 2001-08-08 Rodrigo Moya * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): don't use a NULL mask in the call to gdk_gc_set_clip_mask * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): ditto * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): ditto svn path=/trunk/; revision=11801 --- calendar/gui/e-day-view-top-item.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 e7a3aad90b..5c479fc020 100644 --- a/calendar/gui/e-day-view-top-item.c +++ b/calendar/gui/e-day-view-top-item.c @@ -594,7 +594,8 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem, if (icon_x <= max_icon_x) { gdk_gc_set_clip_origin (gc, icon_x, icon_y); - gdk_gc_set_clip_mask (gc, mask); + if (mask != NULL) + gdk_gc_set_clip_mask (gc, mask); gdk_draw_pixmap (drawable, gc, pixmap, 0, 0, icon_x, icon_y, -- cgit