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/ChangeLog | 9 +++++++++ calendar/gncal-day-view.c | 1 - calendar/gui/gncal-day-view.c | 1 - calendar/gui/view-utils.c | 2 ++ calendar/view-utils.c | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 02a4efe075..9d3aedca5a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +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. + 1999-01-30 Miguel de Icaza * view-utils.c (view_utils_draw_events): Improve this draw diff --git a/calendar/gncal-day-view.c b/calendar/gncal-day-view.c index 1fc59c6fef..76cd00e90f 100644 --- a/calendar/gncal-day-view.c +++ b/calendar/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/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. */ diff --git a/calendar/view-utils.c b/calendar/view-utils.c index 487bfaf973..6287b1cbfe 100644 --- a/calendar/view-utils.c +++ b/calendar/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