make config-window suitable for small[er] screens
[ardour.git] / gtk2_ardour / lv2_plugin_ui.cc
index 177d27fa478bf85306171947c36399b3e773df94..2fe817a6a0f65af93fab5791193df3772766f82e 100644 (file)
@@ -56,7 +56,7 @@ LV2PluginUI::write_from_ui(void*       controller,
                if (ac) {
                        ac->set_value(*(const float*)buffer);
                }
-       } else if (format == me->_lv2->atom_eventTransfer()) {
+       } else if (format == me->_lv2->urids.atom_eventTransfer) {
 
                const int cnt = me->_pi->get_count();
                for (int i=0; i < cnt; i++ ) {
@@ -144,7 +144,7 @@ LV2PluginUI::start_updating(GdkEventAny*)
 {
        if (!_output_ports.empty()) {
                _screen_update_connection.disconnect();
-               _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect
+               _screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect
                        (sigc::mem_fun(*this, &LV2PluginUI::output_update));
        }
        return false;
@@ -322,7 +322,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
 
        if (_lv2->has_message_output()) {
                _lv2->enable_ui_emmission();
-               ARDOUR_UI::instance()->RapidScreenUpdate.connect(
+               ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect(
                        sigc::mem_fun(*this, &LV2PluginUI::update_timeout));
        }
 }
@@ -432,7 +432,7 @@ LV2PluginUI::on_window_show(const std::string& title)
 
                LV2_EXTERNAL_UI_SHOW(_external_ui_ptr);
                _screen_update_connection.disconnect();
-               _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect
+               _screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect
                        (sigc::mem_fun(*this, &LV2PluginUI::output_update));
                return false;
        } else {