remove unnecessary template methods (replicated in libs/gtkmm2ext/doi.h
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Oct 2019 02:32:46 +0000 (20:32 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Oct 2019 22:52:00 +0000 (16:52 -0600)
libs/gtkmm2ext/gtkmm2ext/gtk_ui.h

index ec6250a90c43fca98c4f0a976545a17deec87f2a..be0dabb2e5f0f011aacef8e815cb0dc9b95e6ce2 100644 (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)
         */