summaryrefslogtreecommitdiff
path: root/xpfe
diff options
context:
space:
mode:
authorLootyhoof <lootyhoofer@gmail.com>2020-06-06 00:37:29 +0100
committerLootyhoof <lootyhoofer@gmail.com>2020-06-09 13:41:53 +0100
commitd18faf81938c947f1d02feab2c394b8135f88d8f (patch)
tree17ad9c1ecb14acd726cb8404c3a82e2781e27253 /xpfe
parentfdb918dea124a6efaf0c86f6d5c2ab1b83013e40 (diff)
downloaduxp-d18faf81938c947f1d02feab2c394b8135f88d8f.tar.gz
Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK
Diffstat (limited to 'xpfe')
-rw-r--r--xpfe/appshell/nsWebShellWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpfe/appshell/nsWebShellWindow.cpp b/xpfe/appshell/nsWebShellWindow.cpp
index f703be7289..2893e78682 100644
--- a/xpfe/appshell/nsWebShellWindow.cpp
+++ b/xpfe/appshell/nsWebShellWindow.cpp
@@ -73,7 +73,7 @@
#include "nsPIWindowRoot.h"
-#ifdef XP_MACOSX
+#if defined(XP_MACOSX) || defined(MOZ_WIDGET_GTK)
#include "nsINativeMenuService.h"
#define USE_NATIVE_MENUS
#endif