From b69a2fa8a5341bd5342cff241a3a434b8dd99ff9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Jun 2008 18:59:08 +0000 Subject: Fix compilation. git-svn-id: http://svn.drobilla.net/lad/ingen@1254 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/ControlGroups.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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& 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); -- cgit v1.2.1