From 85d441f1749ae014e8d0757dd5ed3eb447cd518a Mon Sep 17 00:00:00 2001 From: gouldtj Date: Sat, 1 Sep 2007 04:34:09 +0000 Subject: [PATCH] r16405@tres: ted | 2007-08-29 19:50:24 -0700 Removing some debug messages. --- src/extension/execution-env.cpp | 13 +------------ src/extension/prefdialog.cpp | 1 + 2 files changed, 2 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::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 { diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index 5fdb20530..7da2a9e29 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -192,6 +192,7 @@ PrefDialog::pinned_toggle (void) { void PrefDialog::on_response (int signal) { + //printf("Got signal %d\n", signal); if (!_param_pinned->get_bool(NULL, NULL)) { // Not my job if we're not pinned // It's the execution environment's job -- 2.30.2