diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2006-10-23 21:13:44 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2006-10-23 21:13:44 +0000 |
commit | 76e59af1771c1e94126662519d77c1012cb662ca (patch) | |
tree | 7b13bc3e1f0f9c2acb530e3e4e0e103ef1fbc458 | |
parent | bdca219c1fa41c6428e278ae820f3f284dbd71c5 (diff) | |
download | xine-lib-76e59af1771c1e94126662519d77c1012cb662ca.tar.gz xine-lib-76e59af1771c1e94126662519d77c1012cb662ca.tar.bz2 |
- 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
-rw-r--r-- | src/post/goom/xine_goom.c | 13 |
1 files changed, 12 insertions, 1 deletions
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); } |