diff --git a/libs/gtkmm2ext/grouped_buttons.cc b/libs/gtkmm2ext/grouped_buttons.cc index b16b983d02..cd45840a04 100644 --- a/libs/gtkmm2ext/grouped_buttons.cc +++ b/libs/gtkmm2ext/grouped_buttons.cc @@ -91,6 +91,6 @@ GroupedButtons::one_clicked (uint32_t which) it as inactive causes a segfault ... */ - gtk_idle_add (reactivate_button, buttons[which]); + g_idle_add (reactivate_button, buttons[which]); } } diff --git a/libs/gtkmm2ext/popup.cc b/libs/gtkmm2ext/popup.cc index 2a7d7057d8..6f4a8a5427 100644 --- a/libs/gtkmm2ext/popup.cc +++ b/libs/gtkmm2ext/popup.cc @@ -80,7 +80,7 @@ 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) \