28 #include <glibmm/main.h>
34 template<
typename T> gint
idle_delete (T *obj) {
delete obj;
return FALSE; }
36 Glib::signal_idle().connect (sigc::bind (sigc::ptr_fun (idle_delete<T>), obj), Glib::PRIORITY_HIGH_IDLE);
39 Glib::signal_idle().connect (sigc::bind (sigc::ptr_fun (idle_delete<T>), obj), Glib::PRIORITY_HIGH_IDLE);
void delete_when_idle(T *obj)
gint delete_on_unmap(GdkEventAny *ignored, T *obj)