Skip to content

Commit

Permalink
Fix signature of __JUCE__.EventListenerList.removeEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhole committed Jan 16, 2025
1 parent 612c50f commit f22db1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/juce_gui_extra/misc/juce_WebBrowserComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if (
return [eventId, id];
}
removeEventListener([eventId, id]) {
removeEventListener(eventId, id) {
if (this.eventListeners.has(eventId)) {
this.eventListeners.get(eventId).removeListener(id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if (
return [eventId, id];
}

removeEventListener([eventId, id]) {
removeEventListener(eventId, id) {
if (this.eventListeners.has(eventId)) {
this.eventListeners.get(eventId).removeListener(id);
}
Expand Down

0 comments on commit f22db1c

Please sign in to comment.