Commit fc56b92a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Notify: add a callback to match telepathy, msn

parent e1a99fc7
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment