mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
No issue - Replace use of deprecated GetPreventDefault in GTK menu bar
This commit is contained in:
parent
9c51368727
commit
704a1bcfab
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ using namespace mozilla;
|
|||
static bool
|
||||
ShouldHandleKeyEvent(nsIDOMEvent* aEvent) {
|
||||
bool handled, trusted = false;
|
||||
aEvent->GetPreventDefault(&handled);
|
||||
aEvent->GetDefaultPrevented(&handled);
|
||||
aEvent->GetIsTrusted(&trusted);
|
||||
|
||||
if (handled || !trusted) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue