diff options
author | Martin Stransky <stransky@redhat.com> | 2018-12-05 13:21:51 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-12-05 13:21:51 +0100 |
commit | f1e9eb9db5899bf462f5297bfd804af7e901693c (patch) | |
tree | 1badaa04f847b1b9b87accf5e624c43170f03b91 /mozilla-1415078.patch | |
parent | Merge branch 'master' into f28 (diff) | |
parent | Updated to Firefox 64 (Build 1), Build with clang (diff) | |
download | librewolf-fedora-ff-f1e9eb9db5899bf462f5297bfd804af7e901693c.tar.gz librewolf-fedora-ff-f1e9eb9db5899bf462f5297bfd804af7e901693c.tar.bz2 librewolf-fedora-ff-f1e9eb9db5899bf462f5297bfd804af7e901693c.zip |
Merge branch 'master' into f28
Diffstat (limited to 'mozilla-1415078.patch')
-rw-r--r-- | mozilla-1415078.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/mozilla-1415078.patch b/mozilla-1415078.patch deleted file mode 100644 index c5c433e..0000000 --- a/mozilla-1415078.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/toolkit/components/remote/nsRemoteService.cpp b/toolkit/components/remote/nsRemoteService.cpp ---- a/toolkit/components/remote/nsRemoteService.cpp -+++ b/toolkit/components/remote/nsRemoteService.cpp -@@ -34,20 +34,18 @@ - NS_IMETHODIMP - nsRemoteService::Startup(const char* aAppName, const char* aProfileName) - { --#if defined(MOZ_ENABLE_DBUS) -+#if defined(MOZ_ENABLE_DBUS) && defined(MOZ_WAYLAND) - nsresult rv; - mDBusRemoteService = new nsDBusRemoteService(); - rv = mDBusRemoteService->Startup(aAppName, aProfileName); - if (NS_FAILED(rv)) { - mDBusRemoteService = nullptr; - } -+#elif !defined(MOZ_WAYLAND) -+ mGtkRemoteService = new nsGTKRemoteService(); -+ mGtkRemoteService->Startup(aAppName, aProfileName); - #endif - -- if (GDK_IS_X11_DISPLAY(gdk_display_get_default())) { -- mGtkRemoteService = new nsGTKRemoteService(); -- mGtkRemoteService->Startup(aAppName, aProfileName); -- } -- - if (!mDBusRemoteService && !mGtkRemoteService) - return NS_ERROR_FAILURE; - -@@ -73,7 +71,7 @@ - NS_IMETHODIMP - nsRemoteService::Shutdown() - { --#if defined(MOZ_ENABLE_DBUS) -+#if defined(MOZ_ENABLE_DBUS) && defined(MOZ_WAYLAND) - if (mDBusRemoteService) { - mDBusRemoteService->Shutdown(); - mDBusRemoteService = nullptr; -diff --git a/widget/xremoteclient/moz.build b/widget/xremoteclient/moz.build ---- a/widget/xremoteclient/moz.build -+++ b/widget/xremoteclient/moz.build -@@ -11,7 +11,6 @@ - - SOURCES += [ - 'RemoteUtils.cpp', -- 'XRemoteClient.cpp', - ] - - if CONFIG['MOZ_ENABLE_DBUS'] and CONFIG['MOZ_WAYLAND']: -@@ -20,3 +19,7 @@ - ] - CXXFLAGS += CONFIG['TK_CFLAGS'] - CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS'] -+else: -+ SOURCES += [ -+ 'XRemoteClient.cpp', -+ ] - |