summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_dependents.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-15 16:32:37 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-17 09:12:51 -0600
commit5200885fb82cfe4644eceaafefea014129156f93 (patch)
treed26f5be296405f56f785b4aa4f1533e5332fcac8 /gtk2_ardour/ardour_ui_dependents.cc
parentf54f270627fcd141f5dd7d2b31e3e21cca468462 (diff)
GTKOSX is not a valid check. Use __APPLE__
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r--gtk2_ardour/ardour_ui_dependents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc
index 5689aa9044..0918e69538 100644
--- a/gtk2_ardour/ardour_ui_dependents.cc
+++ b/gtk2_ardour/ardour_ui_dependents.cc
@@ -132,7 +132,7 @@ ARDOUR_UI::connect_dependents_to_session (ARDOUR::Session *s)
gint
ARDOUR_UI::exit_on_main_window_close (GdkEventAny * /*ev*/)
{
-#ifdef GTKOSX
+#ifdef __APPLE__
/* just hide the window, and return - the top menu stays up */
editor->hide ();
return TRUE;