X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fpopup.cc;h=6f4a8a5427d3372d6787098a08b92aac7103bc80;hb=de2d3057b5393eb17ab1e4d7d4bbf79c8f3c7836;hp=199c087c26da64c717717ac5cc93cece052c4a58;hpb=b65f8073ba306ac2d85133875746767e7c6b0eb6;p=ardour.git diff --git a/libs/gtkmm2ext/popup.cc b/libs/gtkmm2ext/popup.cc index 199c087c26..6f4a8a5427 100644 --- a/libs/gtkmm2ext/popup.cc +++ b/libs/gtkmm2ext/popup.cc @@ -80,16 +80,16 @@ PopUp::remove () if (delete_on_hide) { std::cerr << "deleting prompter\n"; - gtk_idle_add (idle_delete, this); + g_idle_add (idle_delete, this); } } - #define ENSURE_GUI_THREAD(slot) \ if (!Gtkmm2ext::UI::instance()->caller_is_ui_thread()) {\ - Gtkmm2ext::UI::instance()->call_slot ((slot));\ + Gtkmm2ext::UI::instance()->call_slot (MISSING_INVALIDATOR, (slot)); \ return;\ } + void PopUp::touch () {