discoverer: Use g_signal_connect_object instead of g_signal_connect
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 7 Feb 2011 08:27:39 +0000 (13:57 +0530)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 22 Feb 2011 12:49:12 +0000 (13:49 +0100)
commit40c4fe8fbe23cc3e3293c737969fc274dfb6c4f1
tree381a424b565b0219195684c1fb10f00a7378d649
parent0ebc34adf94caf2476a18d7188341a903a4b2227
discoverer: Use g_signal_connect_object instead of g_signal_connect

We want to make sure the discoverer object passed to the various
callbacks doesn't become invalid if a callback is pending and the object
is free'd in the mean time.

https://bugzilla.gnome.org/show_bug.cgi?id=641706
gst-libs/gst/pbutils/gstdiscoverer.c