diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-12-11 11:41:18 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-12-11 11:41:18 +0000 |
commit | 2f992c783ef619eabc8baec272bf71c3397051d6 (patch) | |
tree | 9fd31a2a8368cd6e17505cff4c21d74386163628 /ext/gconf/gstgconfaudiosrc.h | |
parent | 14999998d43450efcb2c9f690c2fa98c0262d017 (diff) |
ext/gconf/gstgconfaudiosrc.*: Remove gconf notify hook when the gconfaudiosrc element is destroyed, otherwise the cal...
Original commit message from CVS:
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_init),
(gst_gconf_audio_src_dispose), (do_toggle_element):
* ext/gconf/gstgconfaudiosrc.h:
Remove gconf notify hook when the gconfaudiosrc element is
destroyed, otherwise the callback may be called on an
already-destroyed instance and bad things happen. Should fix
#378184.
Also ignore gconf key changes when the source is already running.
Diffstat (limited to 'ext/gconf/gstgconfaudiosrc.h')
-rw-r--r-- | ext/gconf/gstgconfaudiosrc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gconf/gstgconfaudiosrc.h b/ext/gconf/gstgconfaudiosrc.h index f30717f9..cac4085e 100644 --- a/ext/gconf/gstgconfaudiosrc.h +++ b/ext/gconf/gstgconfaudiosrc.h @@ -40,6 +40,8 @@ typedef struct _GstGConfAudioSrc { GstElement *kid; GstPad *pad; + guint gconf_notify_id; + /* Current gconf string */ gchar *gconf_str; } GstGConfAudioSrc; |