aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1999-02-01 13:30:31 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-02-01 13:30:31 +0800
commit85c77e6adfa08af783ff4a16756dc7612ec9ed1f (patch)
tree207ac772303a254cc7a93653dd94d5db7b19da2c /calendar/gui
parent54441921320b97f80231beabcbc337382ecca6bf (diff)
downloadgsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar.gz
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar.bz2
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar.lz
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar.xz
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.tar.zst
gsoc2013-evolution-85c77e6adfa08af783ff4a16756dc7612ec9ed1f.zip
Do not remove the clipping rectangle here.
1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * 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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gncal-day-view.c1
-rw-r--r--calendar/gui/view-utils.c2
2 files changed, 2 insertions, 1 deletions
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.
*/