mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
events: fix remove_event_listener typo
This commit is contained in:
@@ -652,7 +652,7 @@ pub const EventTargetTBase = struct {
|
|||||||
|
|
||||||
pub fn remove_event_listener(et: [*c]c.dom_event_target, t: [*c]c.dom_string, l: ?*c.struct_dom_event_listener, capture: bool) callconv(.C) c.dom_exception {
|
pub fn remove_event_listener(et: [*c]c.dom_event_target, t: [*c]c.dom_string, l: ?*c.struct_dom_event_listener, capture: bool) callconv(.C) c.dom_exception {
|
||||||
const self = @as(*Self, @ptrCast(et));
|
const self = @as(*Self, @ptrCast(et));
|
||||||
return c._dom_event_target_add_event_listener(&self.eti, t, l, capture);
|
return c._dom_event_target_remove_event_listener(&self.eti, t, l, capture);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn iter_event_listener(
|
pub fn iter_event_listener(
|
||||||
|
|||||||
Reference in New Issue
Block a user