remove unnecessary template methods (replicated in libs/gtkmm2ext/doi.h

This commit is contained in:
Paul Davis 2019-10-09 20:32:46 -06:00
parent 195245fdb0
commit dd29e9b0e9

View file

@ -152,16 +152,6 @@ public:
Gtk::Main& main() const { return *theMain; }
template<class T> static bool idle_delete (T *obj) { delete obj; return false; }
template<class T> static void delete_when_idle (T *obj) {
Glib::signal_idle().connect (bind (slot (&UI::idle_delete<T>), obj));
}
template<class T> void delete_in_self (T *obj) {
call_slot (boost::bind (&UI::delete_in_self, this, obj));
}
/* starting is sent just before we enter the main loop,
* stopping just after we return from it (at the top level)
*/