diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 3 |
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); |