summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-02-27 15:20:01 +0000
committermental <mental@users.sourceforge.net>2007-02-27 15:20:01 +0000
commit03c942c587504ffbc78eed44bb32fded3286ab91 (patch)
tree0b209cd63a3977e8dd9d3e1293dce4e295fd89a9 /src/interface.cpp
parentincrease padding (diff)
downloadinkscape-03c942c587504ffbc78eed44bb32fded3286ab91.tar.gz
inkscape-03c942c587504ffbc78eed44bb32fded3286ab91.zip
get rid of sp_repr_document_root and (commented) sp_repr_duplicate
(bzr r2461)
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");