aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-shape-private.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-15 06:13:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:00 +0800
commit9c183ab12ae27089ce972e29aab7000c2edfd466 (patch)
treea1d54e110940b2962b12e08ac6d09cc5e03ebdb6 /libgnomecanvas/gnome-canvas-shape-private.h
parente4489322156d487fe7346a1a564a7837c73cddc1 (diff)
downloadgsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.gz
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.bz2
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.lz
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.xz
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 'libgnomecanvas/gnome-canvas-shape-private.h')
-rw-r--r--libgnomecanvas/gnome-canvas-shape-private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-shape-private.h b/libgnomecanvas/gnome-canvas-shape-private.h
index b36609a303..fb4637c035 100644
--- a/libgnomecanvas/gnome-canvas-shape-private.h
+++ b/libgnomecanvas/gnome-canvas-shape-private.h
@@ -75,9 +75,8 @@ struct _GnomeCanvasShapePriv {
guint fill_set : 1; /* Is fill color set? */
guint outline_set : 1; /* Is outline color set? */
- guint width_pixels : 1; /* Is outline width specified in pixels or units? */
- gdouble width; /* Width of outline, in user coords */
+ gdouble line_width; /* Width of outline, in user coords */
guint32 fill_rgba; /* Fill color, RGBA */
guint32 outline_rgba; /* Outline color, RGBA */