summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 88cd1af7d..666270d5f 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -50,7 +50,7 @@ ExecutionEnv::ExecutionEnv (Effect * effect, Inkscape::UI::View::View * doc, Gtk
Glib::ustring selected_id;
selected_id = SP_OBJECT_ID(*selected);
_selected.insert(_selected.end(), selected_id);
- std::cout << "Selected: " << selected_id << std::endl;
+ //std::cout << "Selected: " << selected_id << std::endl;
++selected;
}
}
@@ -111,7 +111,6 @@ ExecutionEnv::createPrefsDialog (Gtk::Widget * controls) {
void
ExecutionEnv::createWorkingDialog (void) {
- printf("Create working dialog. doc: %X\n", _doc);
if (_visibleDialog != NULL) {
delete _visibleDialog;
}
@@ -194,25 +193,19 @@ ExecutionEnv::documentCommit (void) {
void
ExecutionEnv::reselect (void) {
- printf("A doc: %X\n", _doc);
if (_doc == NULL) { return; }
SPDocument * doc = _doc->doc();
if (doc == NULL) { return; }
- printf("B doc: %X\n", _doc);
SPDesktop *desktop = (SPDesktop *)_doc;
sp_namedview_document_from_window(desktop);
if (desktop == NULL) { return; }
- printf("C doc: %X\n", _doc);
Inkscape::Selection * selection = sp_desktop_selection(desktop);
- printf("D doc: %X\n", _doc);
for (std::list<Glib::ustring>::iterator i = _selected.begin(); i != _selected.end(); i++) {
- printf("E %s doc: %X\n", i->c_str(), _doc);
SPObject * obj = doc->getObjectById(i->c_str());
- printf("F %s doc: %X\n", i->c_str(), _doc);
if (obj != NULL) {
selection->add(obj);
}
@@ -233,13 +226,10 @@ ExecutionEnv::run (void) {
processingComplete();
}
if (_canceled) {
- printf("Canceling the document doc: %X\n", _doc);
sp_document_cancel(_doc->doc());
- printf("Reselecting doc: %X\n", _doc);
reselect();
}
}
- printf("Execution environment done running\n");
if (_selfdelete) {
delete this;
}
@@ -261,7 +251,6 @@ ExecutionEnv::livePreview (bool state) {
void
ExecutionEnv::shutdown (bool del) {
- printf("Shutting down Execution Environment\n");
if (_humanWait) {
_mainloop->quit();
} else {