X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Flxvst_plugin_ui.h;h=115db625958db8d5ec218b6134597af714b49b9d;hb=d53af10c9261172c57dbc66b6b4d1143b37bbcae;hp=522f24c2dacace476354007b8688dc821ad79085;hpb=31d234b48c36bddb4d5228a3abee9c4419403879;p=ardour.git diff --git a/gtk2_ardour/lxvst_plugin_ui.h b/gtk2_ardour/lxvst_plugin_ui.h index 522f24c2da..115db62595 100644 --- a/gtk2_ardour/lxvst_plugin_ui.h +++ b/gtk2_ardour/lxvst_plugin_ui.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ #ifndef __lxvst_plugin_ui_h__ #define __lxvst_plugin_ui_h__ -#include +#include "pbd/signals.h" #include "vst_plugin_ui.h" #ifdef LXVST_SUPPORT @@ -32,14 +32,14 @@ namespace ARDOUR { class LXVSTPluginUI : public VSTPluginUI { - public: +public: LXVSTPluginUI (boost::shared_ptr, boost::shared_ptr); ~LXVSTPluginUI (); int get_preferred_height (); - - bool start_updating (GdkEventAny *); - bool stop_updating (GdkEventAny *); + + bool start_updating (GdkEventAny*) { return false; } + bool stop_updating (GdkEventAny*) { return false; } int package (Gtk::Window&); void forward_key_event (GdkEventKey *); @@ -49,7 +49,7 @@ private: void resize_callback (); int get_XID (); - sigc::connection _screen_update_connection; + PBD::ScopedConnection _resize_connection; }; #endif //LXVST_SUPPORT