summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-06-09 18:59:08 +0000
committerDavid Robillard <d@drobilla.net>2008-06-09 18:59:08 +0000
commitb69a2fa8a5341bd5342cff241a3a434b8dd99ff9 (patch)
treef674837c0fa3a159a1846ccd19400fb64bd63754 /src
parent121874f11a563d748d7eb3c425f859c00a6f7055 (diff)
downloadingen-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
Diffstat (limited to 'src')
-rw-r--r--src/libs/gui/ControlGroups.cpp6
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);