mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Reduce #includes - avoid ardour_ui.h
This commit is contained in:
parent
d42c0f2d60
commit
2e5daf2eeb
7 changed files with 49 additions and 12 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#include <gtkmm/menu.h>
|
||||
#include <gtkmm/menuitem.h>
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "context_menu_helper.h"
|
||||
#include "time_axis_view.h"
|
||||
#include "streamview.h"
|
||||
#include "editor_summary.h"
|
||||
|
|
@ -462,7 +462,7 @@ EditorSummary::on_button_press_event (GdkEventButton* ev)
|
|||
|
||||
if (ev->button == 3) { // right-click: show the reset menu action
|
||||
using namespace Gtk::Menu_Helpers;
|
||||
Gtk::Menu* m = ARDOUR_UI::instance()->shared_popup_menu ();
|
||||
Gtk::Menu* m = ARDOUR_UI_UTILS::shared_popup_menu ();
|
||||
MenuList& items = m->items ();
|
||||
items.push_back(MenuElem(_("Reset Summary to Extents"),
|
||||
sigc::mem_fun(*this, &EditorSummary::reset_to_extents)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue