Add an option to disable editor update during drags of the
[ardour.git] / libs / gtkmm2ext / popup.cc
index 2d586d0317dce697f429484fa23a55794604fc98..6f4a8a5427d3372d6787098a08b92aac7103bc80 100644 (file)
@@ -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 ()
 {
@@ -111,7 +111,7 @@ PopUp::touch ()
 }
 
 gint
-PopUp::button_click (GdkEventButton *ev)
+PopUp::button_click (GdkEventButton */*ev*/)
 {
        remove ();
        return TRUE;
@@ -131,7 +131,7 @@ PopUp::set_name (string name)
 }
 
 bool
-PopUp::on_delete_event (GdkEventAny* ev)
+PopUp::on_delete_event (GdkEventAny* /*ev*/)
 {
        hide();