Code

spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses curve->get_pathvector...
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:13:19 +0000 (23:13 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:13:19 +0000 (23:13 +0000)
src/connector-context.cpp

index 028467b44dc60d85e9fb967734cb6e296d50a180..99eb664c0f6ceeb01940b1bf20830a75c918d371 100644 (file)
@@ -921,7 +921,7 @@ spcc_flush_white(SPConnectorContext *cc, SPCurve *gc)
         /* Set style */
         sp_desktop_apply_style_tool(desktop, repr, "tools.connector", false);
 
-        gchar *str = sp_svg_write_path(SP_CURVE_BPATH(c));
+        gchar *str = sp_svg_write_path( c->get_pathvector() );
         g_assert( str != NULL );
         repr->setAttribute("d", str);
         g_free(str);