summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-01-04 21:18:48 +0700
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-16 16:55:17 -0400
commitfc1e7dbb55939c708ce572d3a5c2518ea926a682 (patch)
treedbd0cfc8a3a800cb5e30f6f9e2e5fa68442f79d1 /gtk2_ardour/ardour_button.cc
parent0fd1aa3808805425c3d91b620f1c590cb6065170 (diff)
Move DPIReset and ColorsChanged signals into UIConfiguration
Diffstat (limited to 'gtk2_ardour/ardour_button.cc')
-rw-r--r--gtk2_ardour/ardour_button.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc
index c06c3629a5..7dca32e689 100644
--- a/gtk2_ardour/ardour_button.cc
+++ b/gtk2_ardour/ardour_button.cc
@@ -38,7 +38,6 @@
#include "ardour_button.h"
#include "ardour_ui.h"
-#include "global_signals.h"
#include "i18n.h"
@@ -96,7 +95,7 @@ ArdourButton::ArdourButton (Element e)
, _update_colors (true)
, _pattern_height (0)
{
- ARDOUR_UI_UTILS::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
+ UIConfiguration::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
}
ArdourButton::ArdourButton (const std::string& str, Element e)
@@ -135,8 +134,8 @@ ArdourButton::ArdourButton (const std::string& str, Element e)
, _pattern_height (0)
{
set_text (str);
- ARDOUR_UI_UTILS::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
- ARDOUR_UI_UTILS::DPIReset.connect (sigc::mem_fun (*this, &ArdourButton::on_name_changed));
+ UIConfiguration::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler));
+ UIConfiguration::DPIReset.connect (sigc::mem_fun (*this, &ArdourButton::on_name_changed));
}
ArdourButton::~ArdourButton()