diff options
author | David Robillard <d@drobilla.net> | 2008-06-09 18:59:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-06-09 18:59:08 +0000 |
commit | b69a2fa8a5341bd5342cff241a3a434b8dd99ff9 (patch) | |
tree | f674837c0fa3a159a1846ccd19400fb64bd63754 | |
parent | 121874f11a563d748d7eb3c425f859c00a6f7055 (diff) | |
download | ingen-b69a2fa8a5341bd5342cff241a3a434b8dd99ff9.tar.gz ingen-b69a2fa8a5341bd5342cff241a3a434b8dd99ff9.tar.bz2 ingen-b69a2fa8a5341bd5342cff241a3a434b8dd99ff9.zip |
Fix compilation.
git-svn-id: http://svn.drobilla.net/lad/ingen@1254 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/libs/gui/ControlGroups.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/gui/ControlGroups.cpp b/src/libs/gui/ControlGroups.cpp index fe022799..0803b5ba 100644 --- a/src/libs/gui/ControlGroups.cpp +++ b/src/libs/gui/ControlGroups.cpp @@ -40,8 +40,8 @@ namespace GUI { // ////////////////////// ControlGroup ///////////////////////////////// // ControlGroup::ControlGroup(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml) - : Gtk::VBox(cobject), - , _control_panel(NULL), + : Gtk::VBox(cobject) + , _control_panel(NULL) , _enable_signal(false) { } @@ -168,7 +168,7 @@ void SliderControlGroup::set_value(const Atom& atom) { float val = atom.get_float(); - + if (_port_model->is_integer()) val = lrintf(val); |