gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must...
authorTim-Philipp Müller <tim@centricular.net>
Sat, 17 Jan 2009 21:04:41 +0000 (21:04 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 17 Jan 2009 21:04:41 +0000 (21:04 +0000)
commit0ee5e36cfb861568933ffe77d1737c1428edaa02
treeafdfa731e66736659dac456cd5bd5e35292da83a
parent732ff5f6fdf7fbaeb67be5b7fa9e20f75ba69fc1
gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must be the parent structure ie. GSou...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
Fix order of members in GstBusSource structure - the first member
must be the parent structure ie. GSource. Should make bus sources
attached to non-default main contexts work in all cases now (ie.
primarily in cases where the callback has a non-NULL user data
argument). Fixes #562170.
* tests/check/gst/gstbus.c: (test_custom_main_context):
Add unit test for the above, based on code by
Justin Karneges <justin at affinix com>.
ChangeLog
gst/gstbus.c
tests/check/gst/gstbus.c