Revert "some further debugging, just in case"

This reverts commit 04ed05ecc4.
This commit is contained in:
Robin Gareus 2017-03-05 17:01:17 +01:00
parent 04ed05ecc4
commit 115987a29b
2 changed files with 0 additions and 7 deletions

View file

@ -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);
}

View file

@ -52,7 +52,6 @@ private:
void idle_delete_self ();
std::list<sigc::connection> _connections;
bool _delete_queued;
/* handlers for window events */