From 76e59af1771c1e94126662519d77c1012cb662ca Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 23 Oct 2006 21:13:44 +0000 Subject: - unregister configuration callbacks when disposing of the class should fix http://bugzilla.gnome.org/show_bug.cgi?id=355254 CVS patchset: 8348 CVS date: 2006/10/23 21:13:44 --- src/post/goom/xine_goom.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c index 91667c43d..f879f1ebc 100644 --- a/src/post/goom/xine_goom.c +++ b/src/post/goom/xine_goom.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_goom.c,v 1.62 2006/07/10 22:08:44 dgp85 Exp $ + * $Id: xine_goom.c,v 1.63 2006/10/23 21:13:44 hadess Exp $ * * GOOM post plugin. * @@ -318,6 +318,17 @@ static char *goom_get_description(post_class_t *class_gen) static void goom_class_dispose(post_class_t *class_gen) { + post_class_goom_t *this = (post_class_goom_t*) class_gen; + + this->xine->config->unregister_callback(this->xine->config, + "effects.goom.fps"); + this->xine->config->unregister_callback(this->xine->config, + "effects.goom.width"); + this->xine->config->unregister_callback(this->xine->config, + "effects.goom.height"); + this->xine->config->unregister_callback(this->xine->config, + "effects.goom.csc_method"); + free(class_gen); } -- cgit v1.2.3