menu and action update
[ardour.git] / gtk2_ardour / grouped_buttons.cc
index 544b3e1ed80af10e2fbb12bfceb0c0b0cd482dda..64c58d81976e3e68c0a9e5114cb8d55ff5d35aa2 100644 (file)
@@ -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);
        }
 }