Another similar fix for use of an uninitialized variable.
[ardour.git] / gtk2_ardour / editor_group_tabs.cc
index fdd4954012b3d29d6b66a0f02e29861f4ce24998..7007c37a05e4b6cba8665d7c72495bc3c596b397 100644 (file)
 #include "editor.h"
 #include "route_time_axis.h"
 #include "utils.h"
+#include "editor_route_groups.h"
 
 using namespace std;
 using namespace ARDOUR;
 
 EditorGroupTabs::EditorGroupTabs (Editor* e)
-       : _editor (e)
+       : GroupTabs (e)
 {
        
 }
@@ -152,3 +153,10 @@ EditorGroupTabs::reflect_tabs (list<Tab> const & tabs)
                y += (*i)->effective_height ();
        }
 }
+
+
+Gtk::Menu*
+EditorGroupTabs::get_menu (RouteGroup *g)
+{
+       return _editor->_route_groups->menu (g);
+}