mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Revert "some further debugging, just in case"
This reverts commit 04ed05ecc4.
This commit is contained in:
parent
04ed05ecc4
commit
115987a29b
2 changed files with 0 additions and 7 deletions
|
|
@ -31,7 +31,6 @@ FloatingTextEntry::FloatingTextEntry (Gtk::Window* parent, const std::string& in
|
||||||
: Gtk::Window (Gtk::WINDOW_POPUP)
|
: Gtk::Window (Gtk::WINDOW_POPUP)
|
||||||
, entry_changed (false)
|
, entry_changed (false)
|
||||||
, by_popup_menu (false)
|
, by_popup_menu (false)
|
||||||
, _delete_queued (false)
|
|
||||||
{
|
{
|
||||||
//set_name (X_("FloatingTextEntry"));
|
//set_name (X_("FloatingTextEntry"));
|
||||||
set_position (Gtk::WIN_POS_MOUSE);
|
set_position (Gtk::WIN_POS_MOUSE);
|
||||||
|
|
@ -185,13 +184,8 @@ FloatingTextEntry::on_hide ()
|
||||||
void
|
void
|
||||||
FloatingTextEntry::idle_delete_self ()
|
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) {
|
for (std::list<sigc::connection>::iterator i = _connections.begin(); i != _connections.end(); ++i) {
|
||||||
i->disconnect ();
|
i->disconnect ();
|
||||||
}
|
}
|
||||||
_delete_queued = true;
|
|
||||||
delete_when_idle (this);
|
delete_when_idle (this);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@ private:
|
||||||
void idle_delete_self ();
|
void idle_delete_self ();
|
||||||
|
|
||||||
std::list<sigc::connection> _connections;
|
std::list<sigc::connection> _connections;
|
||||||
bool _delete_queued;
|
|
||||||
|
|
||||||
/* handlers for window events */
|
/* handlers for window events */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue