Commit 4d7792e8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: Fix previous commit.

parent ef5277d8
......@@ -188,7 +188,7 @@ void libvlc_event_remove_callback( libvlc_instance_t *p_instance,
RAISEVOID( "Unsupported event." );
}
res = var_RemoveCallback( p_instance->p_libvlc_int,
res = var_DelCallback( p_instance->p_libvlc_int,
callback_name,
p_listitem->elmt );
if (res != VLC_SUCCESS)
......
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