Code

We were disconnecting the wrong signal, resulting on the old object's
[inkscape.git] / src / sp-spiral.cpp
index 9c04120e1e8dea67091c679d1e7185a93cba5697..ab65ba4ddd65484920199888d7480031784bcf86 100644 (file)
@@ -166,7 +166,7 @@ sp_spiral_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
                 //g_warning("sp_spiral_write(): No path to copy\n");
                 return NULL;
         }
-        NArtBpath *bpath = curve->bpath;
+        NArtBpath *bpath = SP_CURVE_BPATH(curve);
         if ( !bpath ) {
                 //g_warning("sp_spiral_write(): No path to copy\n");
                 return NULL;