diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-15 06:13:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:50:00 +0800 |
commit | 9c183ab12ae27089ce972e29aab7000c2edfd466 (patch) | |
tree | a1d54e110940b2962b12e08ac6d09cc5e03ebdb6 /calendar/gui/e-day-view.c | |
parent | e4489322156d487fe7346a1a564a7837c73cddc1 (diff) | |
download | gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.gz gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.zst gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.zip |
gnome-canvas: Change line-width handling of GnomeCanvasShape
Remove "width-pixels" property and replace the "width-units" property
name with "line-width".
Also adapt the code to use "line-width". It didn't really matter which
property was used, because the views weren't scaled.
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index a1ee0948f5..8f04f51006 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1155,7 +1155,7 @@ e_day_view_init (EDayView *day_view) day_view->drag_long_event_rect_item = gnome_canvas_item_new (canvas_group, gnome_canvas_rect_get_type (), - "width_pixels", 1, + "line_width", 1.0, NULL); gnome_canvas_item_hide (day_view->drag_long_event_rect_item); @@ -1227,14 +1227,14 @@ e_day_view_init (EDayView *day_view) day_view->drag_rect_item = gnome_canvas_item_new (canvas_group, gnome_canvas_rect_get_type (), - "width_pixels", 1, + "line_width", 1.0, NULL); gnome_canvas_item_hide (day_view->drag_rect_item); day_view->drag_bar_item = gnome_canvas_item_new (canvas_group, gnome_canvas_rect_get_type (), - "width_pixels", 1, + "line_width", 1.0, NULL); gnome_canvas_item_hide (day_view->drag_bar_item); |