projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused button.
[ardour.git]
/
gtk2_ardour
/
return_ui.cc
diff --git
a/gtk2_ardour/return_ui.cc
b/gtk2_ardour/return_ui.cc
index f49b853c610f86fe05ec995ea3dd1b498339d116..4ac3ab8ad1caa76da41e71d5d521614ec4e68b7f 100644
(file)
--- a/
gtk2_ardour/return_ui.cc
+++ b/
gtk2_ardour/return_ui.cc
@@
-30,6
+30,8
@@
#include "ardour_ui.h"
#include "gui_thread.h"
#include "ardour_ui.h"
#include "gui_thread.h"
+#include "i18n.h"
+
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace std;
using namespace ARDOUR;
using namespace PBD;
@@
-77,10
+79,10
@@
ReturnUI::~ReturnUI ()
}
void
}
void
-ReturnUI::ins_changed (IOChange change, void*
ignored
)
+ReturnUI::ins_changed (IOChange change, void*
/*ignored*/
)
{
ENSURE_GUI_THREAD (*this, &ReturnUI::ins_changed, change, ignored)
{
ENSURE_GUI_THREAD (*this, &ReturnUI::ins_changed, change, ignored)
- if (change
&
ConfigurationChanged) {
+ if (change
.type & IOChange::
ConfigurationChanged) {
_gpm.setup_meters ();
}
}
_gpm.setup_meters ();
}
}
@@
-99,7
+101,7
@@
ReturnUI::fast_update ()
}
ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s)
}
ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s)
- : ArdourDialog (string(
"Ardour: return "
) + r->name())
+ : ArdourDialog (string(
_("Return ")
) + r->name())
{
ui = new ReturnUI (this, r, s);
{
ui = new ReturnUI (this, r, s);
@@
-123,7
+125,7
@@
void
ReturnUIWindow::return_going_away ()
{
ENSURE_GUI_THREAD (*this, &ReturnUIWindow::return_going_away)
ReturnUIWindow::return_going_away ()
{
ENSURE_GUI_THREAD (*this, &ReturnUIWindow::return_going_away)
- going_away_connection.disconnect ();
+ going_away_connection.disconnect ();
delete_when_idle (this);
}
delete_when_idle (this);
}