From 53d32bfc98a277a724732a0bc9df27f0992db125 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 24 Mar 2014 22:26:34 +0100 Subject: add convenience functions to deal with Glib::ustrings for setting repr attributes (bzr r13203) --- src/path-chemistry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/path-chemistry.cpp') diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index b613e6afa..22928ccdd 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -146,9 +146,9 @@ sp_selected_path_combine(SPDesktop *desktop) if (transform) { repr->setAttribute("transform", transform); } - repr->setAttribute("style", style.c_str()); + repr->setAttribute("style", style); - repr->setAttribute("inkscape:path-effect", path_effect.c_str()); + repr->setAttribute("inkscape:path-effect", path_effect); // set path data corresponding to new curve gchar *dstring = sp_svg_write_path(curve->get_pathvector()); -- cgit v1.2.3