aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-01-15 00:48:09 +0800
committerHans Petter <hansp@src.gnome.org>2003-01-15 00:48:09 +0800
commit287f7be42978eaf3f73e802a40a9a8a756412cc8 (patch)
tree1c58119ce74b619697e03158b355d2cb3b87f605
parentc2c386e480e6e0f8ae83d4093edb222cdd84cdc5 (diff)
downloadgsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.gz
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.bz2
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.lz
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.xz
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.zst
gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.zip
Work around canvas crashes by ensuring rectangles have an initial width.
2003-01-14 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_init): Work around canvas crashes by ensuring rectangles have an initial width. svn path=/trunk/; revision=19441
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-day-view.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4497dc5f9e..f7262be7f8 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-14 Hans Petter Jansson <hpj@ximian.com>
+
+ * gui/e-day-view.c (e_day_view_init): Work around canvas crashes
+ by ensuring rectangles have an initial width.
+
2003-01-13 Ettore Perazzoli <ettore@ximian.com>
* gui/config-control-factory.h: Removed.
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 7609ad90fa..f16507ba26 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -654,6 +654,7 @@ e_day_view_init (EDayView *day_view)
day_view->resize_long_event_rect_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type(),
+ "width_pixels", 1,
NULL);
gnome_canvas_item_hide (day_view->resize_long_event_rect_item);
@@ -729,12 +730,14 @@ e_day_view_init (EDayView *day_view)
day_view->resize_rect_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type(),
+ "width_pixels", 1,
NULL);
gnome_canvas_item_hide (day_view->resize_rect_item);
day_view->resize_bar_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type(),
+ "width_pixels", 1,
NULL);
gnome_canvas_item_hide (day_view->resize_bar_item);