From 805747f6b136ad2e89f5ca1020ca43506d2b5391 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 17 Apr 2006 04:46:51 +0000 Subject: 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) --- src/extension/implementation/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/implementation/script.cpp') 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 selected = SP_DT_SELECTION(desktop)->itemList(); + GSListConstIterator selected = sp_desktop_selection(desktop)->itemList(); while ( selected != NULL ) { local_command += " --id="; local_command += SP_OBJECT_ID(*selected); -- cgit v1.2.3