[vlc-commits] lua: remove variable callback
Jean-Baptiste Kempf
git at videolan.org
Mon Oct 10 00:55:54 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 10 00:55:22 2011 +0200| [b29deba6610693055b031a36d45460be7a899688] | committer: Jean-Baptiste Kempf
lua: remove variable callback
Close #5271, #5430
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b29deba6610693055b031a36d45460be7a899688
---
modules/lua/extension.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/lua/extension.c b/modules/lua/extension.c
index 5281f58..8619910 100644
--- a/modules/lua/extension.c
+++ b/modules/lua/extension.c
@@ -99,7 +99,7 @@ static void inputItemMetaChanged( const vlc_event_t *p_event,
**/
int Open_Extension( vlc_object_t *p_this )
{
- msg_Dbg( p_this, "Opening EXPERIMENTAL Lua Extension module" );
+ msg_Dbg( p_this, "Opening Lua Extension module" );
extensions_manager_t *p_mgr = ( extensions_manager_t* ) p_this;
@@ -189,6 +189,9 @@ void Close_Extension( vlc_object_t *p_this )
FOREACH_END()
ARRAY_RESET( p_mgr->extensions );
+
+ var_DelCallback( p_this, "dialog-event",
+ vlclua_extension_dialog_callback, NULL );
}
/**
More information about the vlc-commits
mailing list