Patch by Erwan10, <brezhoneg1@yahoo.fr>, simplified by /me
}
/* Unregister callbacks */
}
/* Unregister callbacks */
- var_DelCallback( getIntf()->p_sys->p_playlist, "intf-popupmenu",
+ var_DelCallback( getIntf()->p_libvlc, "intf-popupmenu",
}
/* Register callback for the intf-popupmenu variable */
}
/* Register callback for the intf-popupmenu variable */
- var_AddCallback( getIntf()->p_sys->p_playlist, "intf-popupmenu",
+ var_AddCallback( getIntf()->p_libvlc, "intf-popupmenu",
PopupMenuCB, this );
return true;
PopupMenuCB, this );
return true;