From 8909813ddd0a5d4c11f8e76c8736728c657ff781 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 18 Apr 2006 13:51:33 +0000 Subject: - unregister the vcd config entry when disposing the plugin class. Fixes: http://bugzilla.gnome.org/show_bug.cgi?id=338883 CVS patchset: 7971 CVS date: 2006/04/18 13:51:33 --- src/input/vcd/xineplug_inp_vcd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index 697272f21..61b20cf2d 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.45 2005/10/14 21:02:16 miguelfreitas Exp $ + $Id: xineplug_inp_vcd.c,v 1.46 2006/04/18 13:51:33 hadess Exp $ Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein @@ -1495,6 +1495,8 @@ static void vcd_class_dispose (input_class_t *this_gen) { vcd_input_class_t *class = (vcd_input_class_t *) this_gen; + class->xine->config->unregister_callback(class->xine->config, + "media.vcd.device"); gl_default_vcd_log_handler = vcd_log_set_handler (uninit_log_handler); gl_default_cdio_log_handler = cdio_log_set_handler ((cdio_log_handler_t) uninit_log_handler); -- cgit v1.2.3