summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index bf9b481ee..83f4ac3c8 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -1102,7 +1102,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
return;
}
- Inkscape::XML::Node *repr = sp_repr_document_root(rnewdoc);
+ Inkscape::XML::Node *repr = rnewdoc->root();
gchar const *style = repr->attribute("style");
Inkscape::XML::Node *newgroup = rnewdoc->createElement("svg:g");