summaryrefslogtreecommitdiffstats
path: root/src/prefs-utils.cpp
diff options
context:
space:
mode:
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);
}