Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
83.0-2: FS#68747 Fix build with Rust 1.48
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@402096 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
heftig authored and svntogit committed Nov 27, 2020
1 parent 5bc18eb commit eef4e4d
Show file tree
Hide file tree
Showing 3 changed files with 3,529 additions and 9 deletions.
15 changes: 8 additions & 7 deletions trunk/0001-Use-remoting-name-for-GDK-application-names.patch
Expand Up @@ -5,14 +5,14 @@ Subject: [PATCH] Use remoting name for GDK application names

---
toolkit/xre/nsAppRunner.cpp | 6 +-----
widget/gtk/nsAppShell.cpp | 11 ++++-------
2 files changed, 5 insertions(+), 12 deletions(-)
widget/gtk/nsAppShell.cpp | 12 +++++-------
2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
index a16521852d05..d0be5a088d8c 100644
index d944ce905cbe3..9a50545bfafcb 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -3832,11 +3832,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
@@ -4161,11 +4161,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
// consistently.

// Set program name to the one defined in application.ini.
Expand All @@ -26,18 +26,19 @@ index a16521852d05..d0be5a088d8c 100644
// Initialize GTK here for splash.

diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
index cfe022e65d82..06325264dbb1 100644
index cfe022e65d820..c228237830e43 100644
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -24,6 +24,7 @@
@@ -24,6 +24,8 @@
# include "WakeLockListener.h"
#endif
#include "gfxPlatform.h"
+#include "nsAppRunner.h"
+#include "mozilla/XREAppData.h"
#include "ScreenHelperGTK.h"
#include "HeadlessScreenHelper.h"
#include "mozilla/widget/ScreenManager.h"
@@ -159,13 +160,9 @@ nsresult nsAppShell::Init() {
@@ -159,13 +161,9 @@ nsresult nsAppShell::Init() {
// See https://bugzilla.gnome.org/show_bug.cgi?id=747634
//
// Only bother doing this for the parent process, since it's the one
Expand Down

0 comments on commit eef4e4d

Please sign in to comment.