mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Couple of comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@6851 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6ae418e5f5
commit
f14a33e492
2 changed files with 7 additions and 0 deletions
|
|
@ -369,6 +369,10 @@ UI::idle_add (int (*func)(void *), void *arg)
|
||||||
|
|
||||||
/* END abstract_ui interfaces */
|
/* 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*
|
PBD::EventLoop::InvalidationRecord*
|
||||||
__invalidator (sigc::trackable& trackable, const char* file, int line)
|
__invalidator (sigc::trackable& trackable, const char* file, int line)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,9 @@ EventLoop::set_event_loop_for_thread (EventLoop* loop)
|
||||||
thread_event_loop.set (loop, do_not_delete_the_loop_pointer);
|
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*
|
void*
|
||||||
EventLoop::invalidate_request (void* data)
|
EventLoop::invalidate_request (void* data)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue