summaryrefslogtreecommitdiffstats
path: root/layout/build/nsLayoutStatics.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-09 16:22:26 +0200
committerGitHub <noreply@github.com>2020-06-09 16:22:26 +0200
commit907530e8669d40c1ff59c2855afcf669fe724263 (patch)
tree40312a1ab94ab5e6a3d155e62136309ff4b5acfd /layout/build/nsLayoutStatics.cpp
parentad6ce890dc38fe71df1c55958aed3128a711fb5a (diff)
parentd18faf81938c947f1d02feab2c394b8135f88d8f (diff)
downloadUXP-907530e8669d40c1ff59c2855afcf669fe724263.tar
UXP-907530e8669d40c1ff59c2855afcf669fe724263.tar.gz
UXP-907530e8669d40c1ff59c2855afcf669fe724263.tar.lz
UXP-907530e8669d40c1ff59c2855afcf669fe724263.tar.xz
UXP-907530e8669d40c1ff59c2855afcf669fe724263.zip
Merge pull request #1584 from Lootyhoof/global-menu
Add global menubar support for GTK
Diffstat (limited to 'layout/build/nsLayoutStatics.cpp')
-rw-r--r--layout/build/nsLayoutStatics.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/build/nsLayoutStatics.cpp b/layout/build/nsLayoutStatics.cpp
index 75fae5398..d81a8dfe2 100644
--- a/layout/build/nsLayoutStatics.cpp
+++ b/layout/build/nsLayoutStatics.cpp
@@ -124,6 +124,10 @@
#include "mozilla/StaticPresData.h"
#include "mozilla/dom/WebIDLGlobalNameHash.h"
+#ifdef MOZ_WIDGET_GTK
+#include "nsNativeMenuAtoms.h"
+#endif
+
using namespace mozilla;
using namespace mozilla::net;
using namespace mozilla::dom;
@@ -158,6 +162,9 @@ nsLayoutStatics::Initialize()
nsTextServicesDocument::RegisterAtoms();
nsHTMLTags::RegisterAtoms();
nsRDFAtoms::RegisterAtoms();
+#ifdef MOZ_WIDGET_GTK
+ nsNativeMenuAtoms::RegisterAtoms();
+#endif
NS_SealStaticAtomTable();