summaryrefslogtreecommitdiff
path: root/www/librewolf/files/patch-widget_gtk_nsMenuBar.cpp
blob: dfa5ea927c773ed1ee60c1ccaa82ceac786e5c66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- widget/gtk/nsMenuBar.cpp.orig	2023-10-06 21:47:06.056933000 +0200
+++ widget/gtk/nsMenuBar.cpp	2023-10-06 21:44:31.623574000 +0200
@@ -190,7 +190,7 @@
 
     mEventListener = new DocEventListener(this);
 
-    mDocument = do_QueryInterface(ContentNode()->OwnerDoc());
+    mDocument = ContentNode()->OwnerDoc();
 
     mAccessKey = Preferences::GetInt("ui.key.menuAccessKey");
     if (mAccessKey == dom::KeyboardEvent_Binding::DOM_VK_SHIFT) {