--- gnome-canvas-shape.c.orig	Sat Jan 24 08:26:57 2004
+++ gnome-canvas-shape.c	Sat Jan 24 08:28:43 2004
@@ -190,11 +190,11 @@
                                                             (G_PARAM_READABLE | G_PARAM_WRITABLE)));
         g_object_class_install_property (gobject_class,
                                          PROP_WIDTH_UNITS,
                                          g_param_spec_double ("width_units", NULL, NULL,
                                                               0.0, G_MAXDOUBLE, 0.0,
-                                                              (G_PARAM_WRITABLE)));
+                                                              (G_PARAM_READABLE | G_PARAM_WRITABLE)));
         g_object_class_install_property (gobject_class,
                                          PROP_CAP_STYLE,
                                          g_param_spec_enum ("cap_style", NULL, NULL,
                                                             GDK_TYPE_CAP_STYLE,
                                                             GDK_CAP_BUTT,
@@ -616,10 +616,14 @@
 		g_value_set_enum (value, priv->join);
 		break;
 
 	case PROP_WIDTH_PIXELS:
 		g_value_set_uint (value, priv->width);
+		break;
+
+	case PROP_WIDTH_UNITS:
+		g_value_set_double (value, priv->width);
 		break;
 
 	case PROP_MITERLIMIT:
 		g_value_set_double (value, priv->miterlimit);
 		break;
