summaryrefslogtreecommitdiff
path: root/gtk2_ardour/grouped_buttons.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-09-25 19:24:25 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-09-25 19:24:25 +0000
commitf872433e8e81ba5a3a9ebffa32c6ddd9e3358f07 (patch)
treeb683884d626c0b26103cff341df50d8a9713c7be /gtk2_ardour/grouped_buttons.cc
parentaa62659c78627fb3821e9cb910f198aa453a1eaf (diff)
It begins.
git-svn-id: svn://localhost/trunk/ardour2@27 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/grouped_buttons.cc')
-rw-r--r--gtk2_ardour/grouped_buttons.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/grouped_buttons.cc b/gtk2_ardour/grouped_buttons.cc
index 544b3e1ed8..64c58d8197 100644
--- a/gtk2_ardour/grouped_buttons.cc
+++ b/gtk2_ardour/grouped_buttons.cc
@@ -18,7 +18,7 @@
$Id$
*/
-#include <gtk--.h>
+#include <gtkmm.h>
#include "grouped_buttons.h"
@@ -34,7 +34,7 @@ GroupedButtons::GroupedButtons (vector<Gtk::ToggleButton *>& buttonset)
if ((*i)->get_active()) {
current_active = n;
}
- (*i)->clicked.connect (bind (slot (*this, &GroupedButtons::one_clicked), n));
+ (*i)->signal_clicked().connect (sigc::bind (mem_fun (*this, &GroupedButtons::one_clicked), n));
}
}
@@ -53,7 +53,7 @@ GroupedButtons::GroupedButtons (uint32_t nbuttons, uint32_t first_active)
button->set_active (true);
}
- button->clicked.connect (bind (slot (*this, &GroupedButtons::one_clicked), n));
+ button->signal_clicked().connect (sigc::bind (mem_fun (*this, &GroupedButtons::one_clicked), n));
buttons.push_back (button);
}
}