From 9c18473d4af83a2a9413d866937db4a9f3788955 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Wed, 1 Jun 2022 12:18:10 +0200 Subject: [PATCH] unity-menubar.patch for 101.0 --- patches/unity-menubar.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/unity-menubar.patch b/patches/unity-menubar.patch index 093ed3d..9063b66 100644 --- a/patches/unity-menubar.patch +++ b/patches/unity-menubar.patch @@ -1068,7 +1068,7 @@ + + OnOpen(); + -+ mOpenDelayTimer = do_CreateInstance(NS_TIMER_CONTRACTID); ++ mOpenDelayTimer = NS_NewTimer(); + if (!mOpenDelayTimer) { + return; + } @@ -5118,8 +5118,8 @@ --- a/widget/gtk/components.conf +++ b/widget/gtk/components.conf @@ -76,6 +76,14 @@ Classes = [ - 'headers': ['/widget/gtk/nsApplicationChooser.h'], - 'processes': ProcessSelector.MAIN_PROCESS_ONLY, + 'headers': ['/widget/gtk/nsUserIdleServiceGTK.h'], + 'constructor': 'nsUserIdleServiceGTK::GetInstance', }, + { + 'cid': '{0b3fe5aa-bc72-4303-85ae-76365df1251d}', @@ -5131,7 +5131,7 @@ + }, ] - if defined('MOZ_X11'): + if defined('NS_PRINTING'): --- a/xpfe/appshell/AppWindow.cpp +++ b/xpfe/appshell/AppWindow.cpp @@ -80,7 +80,7 @@