summaryrefslogtreecommitdiff
path: root/gtk2_ardour/io_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-06-19 15:26:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-06-19 15:26:14 +0000
commit82031d05e0f2f4500535a6e35cdc5199b0b2d3a0 (patch)
tree350624e334633d258171ffcbe20d802c558ee105 /gtk2_ardour/io_selector.cc
parent00c57fc3905c636292fbb4241f7fa204dbae8f3f (diff)
reset editor's entered_track to null if that track is deleted; fix use of wrong constructor for MessageDialog in both IOSelector and import handling, which would lead to a glibmm exception caused by a null C string (old, common and very very bad)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3483 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.cc')
-rw-r--r--gtk2_ardour/io_selector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc
index f25bd9be00..0f877206f7 100644
--- a/gtk2_ardour/io_selector.cc
+++ b/gtk2_ardour/io_selector.cc
@@ -547,7 +547,7 @@ IOSelector::add_port ()
}
catch (AudioEngine::PortRegistrationFailure& err) {
- MessageDialog msg (0, _("There are no more JACK ports available."));
+ MessageDialog msg (_("There are no more JACK ports available."));
msg.run ();
}
@@ -558,7 +558,7 @@ IOSelector::add_port ()
}
catch (AudioEngine::PortRegistrationFailure& err) {
- MessageDialog msg (0, _("There are no more JACK ports available."));
+ MessageDialog msg (_("There are no more JACK ports available."));
msg.run ();
}
}