TODO with GTKMM_DISABLE_DEPRECATED enabled in Mackie surface

This commit is contained in:
Tim Mayberry 2016-12-10 22:12:13 +10:00
parent 42187b3440
commit 9251ac4a11
1 changed files with 2 additions and 0 deletions

View File

@ -148,7 +148,9 @@ MackieControlProtocolGUI::MackieControlProtocolGUI (MackieControlProtocol& p)
backlight_button.signal_clicked().connect (sigc::mem_fun (*this, &MackieControlProtocolGUI::toggle_backlight));
touch_sensitivity_adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &MackieControlProtocolGUI::touch_sensitive_change));
#ifndef GTKMM_DISABLE_DEPRECATED
touch_sensitivity_scale.set_update_policy (Gtk::UPDATE_DISCONTINUOUS);
#endif
l = manage (new Gtk::Label (_("Button click")));
l->set_alignment (1.0, 0.5);