13
0

Remove unused variable

This commit is contained in:
Robin Gareus 2020-01-09 18:20:20 +01:00
parent 16549e86e3
commit 0771717dd5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 1 additions and 4 deletions

View File

@ -552,9 +552,7 @@ LV2PluginUI::resizable()
int int
LV2PluginUI::package(Gtk::Window& win) LV2PluginUI::package(Gtk::Window& win)
{ {
if (_external_ui_ptr) { if (!_external_ui_ptr) {
_win_ptr = &win;
} else {
/* forward configure events to plugin window */ /* forward configure events to plugin window */
win.signal_configure_event().connect( win.signal_configure_event().connect(
sigc::mem_fun(*this, &LV2PluginUI::configure_handler)); sigc::mem_fun(*this, &LV2PluginUI::configure_handler));

View File

@ -96,7 +96,6 @@ private:
LV2_Feature _lv2ui_request_feature; LV2_Feature _lv2ui_request_feature;
struct lv2_external_ui* _external_ui_ptr; struct lv2_external_ui* _external_ui_ptr;
LV2_Feature _parent_feature; LV2_Feature _parent_feature;
Gtk::Window* _win_ptr;
void* _inst; void* _inst;
typedef std::set<uint32_t> Updates; typedef std::set<uint32_t> Updates;
Updates _updates; Updates _updates;