From 03c942c587504ffbc78eed44bb32fded3286ab91 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 27 Feb 2007 15:20:01 +0000 Subject: get rid of sp_repr_document_root and (commented) sp_repr_duplicate (bzr r2461) --- src/interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface.cpp') 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"); -- cgit v1.2.3