diff options
| author | MenTaLguY <mental@rydia.net> | 2006-04-17 04:46:51 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-04-17 04:46:51 +0000 |
| commit | 805747f6b136ad2e89f5ca1020ca43506d2b5391 (patch) | |
| tree | beded9b49a5f2f5a3ac956ded5604cee5d61cd0c /src/extension/implementation/script.cpp | |
| parent | SP_DT_DOCUMENT -> sp_desktop_document (diff) | |
| download | inkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.tar.gz inkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.zip | |
Get rid of the SP_DT_* macros which do nothing more than provide additional, confusing, names for other functions. If shorter names are desired, the actual functions should be renamed -- or better, made into member functions.
(bzr r532)
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index f9cc2ee0b..8f121800f 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -609,7 +609,7 @@ Script::effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *do SPDesktop *desktop = (SPDesktop *) doc; if (desktop != NULL) { using Inkscape::Util::GSListConstIterator; - GSListConstIterator<SPItem *> selected = SP_DT_SELECTION(desktop)->itemList(); + GSListConstIterator<SPItem *> selected = sp_desktop_selection(desktop)->itemList(); while ( selected != NULL ) { local_command += " --id="; local_command += SP_OBJECT_ID(*selected); |
