summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.h
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2012-06-27 12:21:23 +0000
committerColin Fletcher <colin.m.fletcher@googlemail.com>2012-06-27 12:21:23 +0000
commit5ba1996fd70f05362c70b54e68261b955659f291 (patch)
tree9e30d384f33df9f3eff2d84175752cd9d2390da5 /gtk2_ardour/ardour_ui.h
parent266030b79c19c144cc093d69ee57117f742f8347 (diff)
A (hopefully) better fix for toggle-mixer-on-top, using gtk_window_is_active() to work out whether the mixer is already on top.
git-svn-id: svn://localhost/ardour2/branches/3.0@12952 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r--gtk2_ardour/ardour_ui.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h
index 4d6f3391fc..c48d373ca3 100644
--- a/gtk2_ardour/ardour_ui.h
+++ b/gtk2_ardour/ardour_ui.h
@@ -259,8 +259,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
void get_process_buffers ();
void drop_process_buffers ();
- void goto_editor_window ();
-
protected:
friend class PublicEditor;
@@ -286,9 +284,10 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
ARDOUR::AudioEngine *engine;
Gtk::Tooltips _tooltips;
- void goto_mixer_window ();
- void toggle_mixer_window ();
- void toggle_mixer_on_top ();
+ void goto_editor_window ();
+ void goto_mixer_window ();
+ void toggle_mixer_window ();
+ void toggle_mixer_on_top ();
int setup_windows ();
void setup_transport ();