diff options
| author | MenTaLguY <mental@rydia.net> | 2007-01-21 19:03:03 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-01-21 19:03:03 +0000 |
| commit | 63731301866e7b9cb231a43658a7c51ec2d70690 (patch) | |
| tree | 91b475a32308003e60e40ac0f318dc00be019a6e /src/dialogs/clonetiler.cpp | |
| parent | Deprecate sp_repr_new* functions (diff) | |
| download | inkscape-63731301866e7b9cb231a43658a7c51ec2d70690.tar.gz inkscape-63731301866e7b9cb231a43658a7c51ec2d70690.zip | |
start switching sp_repr_new* over to XML::Document::create*, and rename create methods to match DOM
(bzr r2253)
Diffstat (limited to 'src/dialogs/clonetiler.cpp')
| -rw-r--r-- | src/dialogs/clonetiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/clonetiler.cpp b/src/dialogs/clonetiler.cpp index c0acea533..cffbf52e1 100644 --- a/src/dialogs/clonetiler.cpp +++ b/src/dialogs/clonetiler.cpp @@ -1268,7 +1268,7 @@ clonetiler_apply (GtkWidget *widget, void *) } // Create the clone - Inkscape::XML::Node *clone = sp_repr_new("svg:use"); + Inkscape::XML::Node *clone = obj_repr->document()->createElement("svg:use"); clone->setAttribute("x", "0"); clone->setAttribute("y", "0"); clone->setAttribute("inkscape:tiled-clone-of", id_href); |
