bus: honour any per-thread default main context set via g_main_thread_push_thread_def...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 31 Jan 2011 15:58:18 +0000 (15:58 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 31 Jan 2011 15:58:18 +0000 (15:58 +0000)
commitb93b05653ee66728b80960e923aa967cb30fc0c8
tree2969bfda0d10bcba6c554f8115d4316d78907cb0
parent2cfc7adcb11b9ada2b087d3dc5c0fc43214bf9cd
bus: honour any per-thread default main context set via g_main_thread_push_thread_default()

Makes gst_bus_add_watch(), gst_bus_add_watch_full(), gst_bus_add_signal_watch(),
and gst_bus_add_signal_watch_full() convenience functions automatically pick up
any non-default main contexts set for the current thread via
g_main_thread_push_thread_default().
gst/gstbus.c
tests/check/gst/gstbus.c