[vlc-commits] Notify: add a callback to match telepathy, msn
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 22 16:21:57 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 22 16:21:10 2011 +0200| [fc56b92af1636c53a0545109a74476fe74c054a5] | committer: Jean-Baptiste Kempf
Notify: add a callback to match telepathy, msn
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc56b92af1636c53a0545109a74476fe74c054a5
---
modules/misc/notify/notify.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/misc/notify/notify.c b/modules/misc/notify/notify.c
index 198221c..0dc494d 100644
--- a/modules/misc/notify/notify.c
+++ b/modules/misc/notify/notify.c
@@ -122,6 +122,7 @@ static int Open( vlc_object_t *p_this )
/* */
var_AddCallback( pl_Get( p_intf ), "item-current", ItemChange, p_intf );
+ var_AddCallback( pl_Get( p_intf ), "item-change", ItemChange, p_intf );
return VLC_SUCCESS;
}
@@ -135,6 +136,7 @@ static void Close( vlc_object_t *p_this )
intf_sys_t *p_sys = p_intf->p_sys;
var_DelCallback( pl_Get( p_this ), "item-current", ItemChange, p_this );
+ var_DelCallback( pl_Get( p_this ), "item-change", ItemChange, p_this );
if( p_sys->notification )
{
More information about the vlc-commits
mailing list