diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-01-15 00:48:09 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-01-15 00:48:09 +0800 |
commit | 287f7be42978eaf3f73e802a40a9a8a756412cc8 (patch) | |
tree | 1c58119ce74b619697e03158b355d2cb3b87f605 /calendar/gui/e-day-view.c | |
parent | c2c386e480e6e0f8ae83d4093edb222cdd84cdc5 (diff) | |
download | gsoc2013-evolution-287f7be42978eaf3f73e802a40a9a8a756412cc8.tar.gz 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
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |