Commit 33671b8e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: Use the correct argument for var_DelCallback.

parent 4d7792e8
......@@ -189,8 +189,9 @@ void libvlc_event_remove_callback( libvlc_instance_t *p_instance,
}
res = var_DelCallback( p_instance->p_libvlc_int,
callback_name,
p_listitem->elmt );
callback_name, handle_event,
p_listitem->elmt );
if (res != VLC_SUCCESS)
{
RAISEVOID("Internal callback unregistration was not successful. Callback not unregistered.");
......
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