diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-05 17:01:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-05 17:01:17 +0100 |
commit | 115987a29beec5d5267e23611d905f1bd55f0375 (patch) | |
tree | 48052caea5b13b5d5709ff63d056b538165d56e8 /gtk2_ardour | |
parent | 04ed05ecc4629d85d8f1fd3d6756669a42fb762b (diff) |
Revert "some further debugging, just in case"
This reverts commit 04ed05ecc4629d85d8f1fd3d6756669a42fb762b.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/floating_text_entry.cc | 6 | ||||
-rw-r--r-- | gtk2_ardour/floating_text_entry.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/floating_text_entry.cc b/gtk2_ardour/floating_text_entry.cc index da8b734539..29be2ef774 100644 --- a/gtk2_ardour/floating_text_entry.cc +++ b/gtk2_ardour/floating_text_entry.cc @@ -31,7 +31,6 @@ FloatingTextEntry::FloatingTextEntry (Gtk::Window* parent, const std::string& in : Gtk::Window (Gtk::WINDOW_POPUP) , entry_changed (false) , by_popup_menu (false) - , _delete_queued (false) { //set_name (X_("FloatingTextEntry")); set_position (Gtk::WIN_POS_MOUSE); @@ -185,13 +184,8 @@ FloatingTextEntry::on_hide () void FloatingTextEntry::idle_delete_self () { - if (_delete_queued) { - PBD::stacktrace (std::cerr, 20); - return; - } for (std::list<sigc::connection>::iterator i = _connections.begin(); i != _connections.end(); ++i) { i->disconnect (); } - _delete_queued = true; delete_when_idle (this); } diff --git a/gtk2_ardour/floating_text_entry.h b/gtk2_ardour/floating_text_entry.h index 695606abe6..d70185a8a6 100644 --- a/gtk2_ardour/floating_text_entry.h +++ b/gtk2_ardour/floating_text_entry.h @@ -52,7 +52,6 @@ private: void idle_delete_self (); std::list<sigc::connection> _connections; - bool _delete_queued; /* handlers for window events */ |