aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/gncal-day-view.c1
-rw-r--r--calendar/gui/gncal-day-view.c1
-rw-r--r--calendar/gui/view-utils.c2
-rw-r--r--calendar/view-utils.c2
5 files changed, 13 insertions, 2 deletions
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 <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.
+
1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* 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.
*/