summaryrefslogtreecommitdiffstats
path: root/src/prefs-utils.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-05-08 13:05:51 +0000
committermental <mental@users.sourceforge.net>2008-05-08 13:05:51 +0000
commit8b71ee28d6d834eacf8853822b7c667f5c8eb21f (patch)
tree0a9db9f3c5fc645f4d9a2746f1d020882cd5db33 /src/prefs-utils.cpp
parentset eol-style:native for newly added files (diff)
downloadinkscape-8b71ee28d6d834eacf8853822b7c667f5c8eb21f.tar.gz
inkscape-8b71ee28d6d834eacf8853822b7c667f5c8eb21f.zip
merge inline patch from Jimmy
(bzr r5631)
Diffstat (limited to 'src/prefs-utils.cpp')
-rw-r--r--src/prefs-utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prefs-utils.cpp b/src/prefs-utils.cpp
index b2b3efeb7..a8f358faf 100644
--- a/src/prefs-utils.cpp
+++ b/src/prefs-utils.cpp
@@ -46,7 +46,7 @@ gchar * create_pref(gchar const *father_path, gchar const *child){
Inkscape::XML::Node *father = inkscape_get_repr(INKSCAPE, father_path);
if (! father ) return NULL;
Inkscape::XML::Node *repr = father->document()->createElement("group");
- sp_repr_set_attr(repr, "id", child);
+ repr->setAttribute("id", child, false);
father->appendChild(repr);
return g_strdup_printf("%s.%s", father_path,child);
}