Code

Remove obsolete C macro use.
authorJon A. Cruz <jon@joncruz.org>
Mon, 1 Mar 2010 04:04:49 +0000 (20:04 -0800)
committerJon A. Cruz <jon@joncruz.org>
Mon, 1 Mar 2010 04:04:49 +0000 (20:04 -0800)
src/extension/implementation/script.cpp

index 03bbf25c99af8ed1df8f017899edd60717289cce..4e8d0b3607aba700a417cd8ad14fac3df67ec525 100644 (file)
@@ -739,7 +739,7 @@ void Script::effect(Inkscape::Extension::Effect *module,
         while ( selected != NULL ) {
             Glib::ustring selected_id;
             selected_id += "--id=";
-            selected_id += SP_OBJECT_ID(*selected);
+            selected_id += (*selected)->id;
             params.insert(params.begin(), selected_id);
             ++selected;
         }