install single color theme file during waf install
[ardour.git] / gtk2_ardour / lxvst_plugin_ui.cc
index 5d86f428c2fc823b88b7ef4bd527e9e6ab12b97b..e3335d4990775b5ff3cd72bd6e5bd18fbadf4053 100644 (file)
@@ -46,7 +46,7 @@ LXVSTPluginUI::~LXVSTPluginUI ()
 
 
 bool
-LXVSTPluginUI::start_updating (GdkEventAny* ignored)
+LXVSTPluginUI::start_updating (GdkEventAny*)
 {
        _screen_update_connection.disconnect();
        _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (mem_fun(*this, &LXVSTPluginUI::resize_callback));
@@ -54,7 +54,7 @@ LXVSTPluginUI::start_updating (GdkEventAny* ignored)
 }
 
 bool
-LXVSTPluginUI::stop_updating (GdkEventAny* ignored)
+LXVSTPluginUI::stop_updating (GdkEventAny*)
 {
        _screen_update_connection.disconnect();
        return false;
@@ -116,7 +116,7 @@ LXVSTPluginUI::package (Gtk::Window& win)
 }
 
 void
-LXVSTPluginUI::forward_key_event (GdkEventKey* ev)
+LXVSTPluginUI::forward_key_event (GdkEventKey*)
 {
        std::cerr << "LXVSTPluginUI : keypress forwarding to linuxVSTs unsupported" << std::endl;
 }
@@ -141,7 +141,7 @@ LXVSTPluginUI::get_XID ()
        */
        
        while (!(_vst->state()->been_activated)) {
-               usleep (1000);
+               Glib::usleep (1000);
        }
        
        int const id = _vst->state()->xid;
@@ -163,7 +163,7 @@ static error_handler_t vstfx_error_handler;
 static error_handler_t gtk_error_handler;
 
 static int 
-gtk_xerror_handler (Display* disp, XErrorEvent* ev)
+gtk_xerror_handler (Display*, XErrorEvent*)
 {
        std::cerr << "** ERROR ** LXVSTPluginUI : Trapped an X Window System Error" << std::endl;