diff options
| author | Ted Gould <ted@gould.cx> | 2007-09-01 04:34:09 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-09-01 04:34:09 +0000 |
| commit | 397aa9bc596490cb71f8a2615efc6391e330be25 (patch) | |
| tree | ca8000b91bbfc5d026c5c655eadecd9fd194cc83 /src | |
| parent | r16404@tres: ted | 2007-08-29 19:48:31 -0700 (diff) | |
| download | inkscape-397aa9bc596490cb71f8a2615efc6391e330be25.tar.gz inkscape-397aa9bc596490cb71f8a2615efc6391e330be25.zip | |
r16405@tres: ted | 2007-08-29 19:50:24 -0700
Removing some debug messages.
(bzr r3644)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/execution-env.cpp | 13 | ||||
| -rw-r--r-- | 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<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 { 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 |
