diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-08-09 03:39:56 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-08-09 03:39:56 +0800 |
commit | 10a99ada7f32b3b7e2f54ce46846e7529804ba53 (patch) | |
tree | 40f565676de16b86c473a5c41f08e8bb4543f8ba /calendar/gui/e-day-view-top-item.c | |
parent | 4bda0f453caf3779a6d8e6f3e1bd201b2549b494 (diff) | |
download | gsoc2013-evolution-10a99ada7f32b3b7e2f54ce46846e7529804ba53.tar.gz gsoc2013-evolution-10a99ada7f32b3b7e2f54ce46846e7529804ba53.tar.zst gsoc2013-evolution-10a99ada7f32b3b7e2f54ce46846e7529804ba53.zip |
don't use a NULL mask in the call to gdk_gc_set_clip_mask
2001-08-08 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'calendar/gui/e-day-view-top-item.c')
-rw-r--r-- | calendar/gui/e-day-view-top-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |