a variety of mostly unused parameter errors from OS X Lion's compiler
[ardour.git] / gtk2_ardour / plugin_selector.cc
index 85f4a8d75b322a993c34f8fd3573e50deb2cd89f..56527e1eb9909f87a1564ffa463f4e8b14646aa4 100644 (file)
@@ -181,7 +181,6 @@ PluginSelector::PluginSelector (PluginManager& mgr)
        //plugin_display.set_name("PluginSelectorList");
        added_list.set_name("PluginSelectorList");
 
-       plugin_display.signal_button_press_event().connect_notify (sigc::mem_fun(*this, &PluginSelector::row_clicked));
        plugin_display.signal_row_activated().connect_notify (sigc::mem_fun(*this, &PluginSelector::row_activated));
        plugin_display.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &PluginSelector::display_selection_changed));
        plugin_display.grab_focus();
@@ -200,15 +199,7 @@ PluginSelector::~PluginSelector ()
 }
 
 void
-PluginSelector::row_clicked(GdkEventButton* event)
-{
-       if (event->type == GDK_2BUTTON_PRESS) {
-               btn_add_clicked();
-       }
-}
-
-void
-PluginSelector::row_activated(Gtk::TreeModel::Path path, Gtk::TreeViewColumn* col)
+PluginSelector::row_activated(Gtk::TreeModel::Path, Gtk::TreeViewColumn*)
 {
        btn_add_clicked();
 }