From 85c77e6adfa08af783ff4a16756dc7612ec9ed1f Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 1 Feb 1999 05:30:31 +0000 Subject: Do not remove the clipping rectangle here. 1999-01-31 Federico Mena Quintero * gncal-day-view.c (gncal_day_view_expose): Do not remove the clipping rectangle here. * view-utils.c (view_utils_draw_events): Remove the clipping rectangle here, since the user of this function should not know about it. svn path=/trunk/; revision=638 --- calendar/gui/gncal-day-view.c | 1 - calendar/gui/view-utils.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/gncal-day-view.c b/calendar/gui/gncal-day-view.c index 1fc59c6fef..76cd00e90f 100644 --- a/calendar/gui/gncal-day-view.c +++ b/calendar/gui/gncal-day-view.c @@ -343,7 +343,6 @@ gncal_day_view_expose (GtkWidget *widget, GdkEventExpose *event) dview->upper); } - gdk_gc_set_clip_rectangle (gc, NULL); return FALSE; } diff --git a/calendar/gui/view-utils.c b/calendar/gui/view-utils.c index 487bfaf973..6287b1cbfe 100644 --- a/calendar/gui/view-utils.c +++ b/calendar/gui/view-utils.c @@ -149,6 +149,8 @@ view_utils_draw_events (GtkWidget *widget, GdkWindow *window, GdkGC *gc, GdkRect } } + gdk_gc_set_clip_rectangle (gc, NULL); + /* * Free resources. */ -- cgit v1.2.3