extend strict-i/o to include route outputs.
[ardour.git] / gtk2_ardour / plugin_ui.cc
index d351e5efba147195ae2f73f6257e1c0661cf9ec6..b1af891217ae8c174307d45b6b266c709502999d 100644 (file)
@@ -178,7 +178,7 @@ PluginUIWindow::on_show ()
        }
 
        if (_pluginui) {
-#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX)
+#if defined (HAVE_AUDIOUNITS) && defined(__APPLE__)
                 if (pre_deactivate_x >= 0) {
                         move (pre_deactivate_x, pre_deactivate_y);
                 }
@@ -193,7 +193,7 @@ PluginUIWindow::on_show ()
 void
 PluginUIWindow::on_hide ()
 {
-#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX)
+#if defined (HAVE_AUDIOUNITS) && defined(__APPLE__)
         get_position (pre_deactivate_x, pre_deactivate_y);
 #endif
 
@@ -293,7 +293,7 @@ PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert>)
 }
 
 void
-#ifdef GTKOSX
+#ifdef __APPLE__
 PluginUIWindow::app_activated (bool yn)
 #else
 PluginUIWindow::app_activated (bool)
@@ -362,11 +362,11 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
                        }
                }
                return true;
-       } 
+       }
        /* for us to be getting key press events, there really
           MUST be a _pluginui, but just to be safe, check ...
        */
-       
+
        if (_pluginui) {
                _pluginui->grab_focus();
                if (_pluginui->non_gtk_gui()) {
@@ -379,7 +379,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
                } else {
                        return relay_key_press (event, this);
                }
-       } 
+       }
 
        return false;
 }