[pulseaudio-discuss] [PATCH] bluetooth: Move stuff to pa_bluetooth_transport_put/unlink()

2014-10-07 Thread Tanu Kaskinen
This should not have any effect on behaviour. The goal is to align with the pattern that I think we should follow: Object initialization: - put() is the place to create references from other objects to the newly created object. In this case, adding the transport to discovery->transports was

Re: [pulseaudio-discuss] [PATCH] bluetooth: Move stuff to pa_bluetooth_transport_put/unlink()

2014-10-19 Thread Tanu Kaskinen
On Tue, 2014-10-07 at 14:50 +0300, Tanu Kaskinen wrote: > This should not have any effect on behaviour. The goal is to align > with the pattern that I think we should follow: > > Object initialization: > - put() is the place to create references from other objects to the >newly created object