Couple of comments.
authorCarl Hetherington <carl@carlh.net>
Fri, 2 Apr 2010 23:11:15 +0000 (23:11 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 2 Apr 2010 23:11:15 +0000 (23:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6851 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/gtkmm2ext/gtk_ui.cc
libs/pbd/event_loop.cc

index 734a93c793bd4b98714d2dca4d38e66b1dc6a482..7695892a82556e09e2703f7dedc8f212d59a58e5 100644 (file)
@@ -369,6 +369,10 @@ UI::idle_add (int (*func)(void *), void *arg)
 
 /* END abstract_ui interfaces */
 
+/** Create a PBD::EventLoop::InvalidationRecord and attach a callback
+ *  to a given sigc::trackable so that PBD::EventLoop::invalidate_request
+ *  is called when that trackable is destroyed.
+ */
 PBD::EventLoop::InvalidationRecord*
 __invalidator (sigc::trackable& trackable, const char* file, int line)
 {
index 69223efe4980336d973810a54176820ccba86f10..e95a938d63d65c7d1fe1bd998a76618a4931c82e 100644 (file)
@@ -20,6 +20,9 @@ EventLoop::set_event_loop_for_thread (EventLoop* loop)
        thread_event_loop.set (loop, do_not_delete_the_loop_pointer); 
 }
 
+/** Called when a sigc::trackable that was connected to using the invalidator() macro
+ *  is destroyed.
+ */
 void* 
 EventLoop::invalidate_request (void* data)
 {