summaryrefslogtreecommitdiff
path: root/mozilla-1885133.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-10 14:48:46 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-10 14:48:46 +0100
commit7d033e0b198780fa1d7b1fee8237f3cd0262be29 (patch)
tree940bb05a527ac9d6fc4175fc7f0ec97408559862 /mozilla-1885133.patch
parentchangelog date fix (diff)
downloadlibrewolf-fedora-ff-7d033e0b198780fa1d7b1fee8237f3cd0262be29.tar.gz
librewolf-fedora-ff-7d033e0b198780fa1d7b1fee8237f3cd0262be29.tar.bz2
librewolf-fedora-ff-7d033e0b198780fa1d7b1fee8237f3cd0262be29.zip
Added fix for mozbz#1885133
Diffstat (limited to 'mozilla-1885133.patch')
-rw-r--r--mozilla-1885133.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/mozilla-1885133.patch b/mozilla-1885133.patch
new file mode 100644
index 0000000..a73503a
--- /dev/null
+++ b/mozilla-1885133.patch
@@ -0,0 +1,21 @@
+diff --git a/browser/components/shell/nsGNOMEShellDBusHelper.cpp b/browser/components/shell/nsGNOMEShellDBusHelper.cpp
+--- a/browser/components/shell/nsGNOMEShellDBusHelper.cpp
++++ b/browser/components/shell/nsGNOMEShellDBusHelper.cpp
+@@ -29,7 +29,7 @@ static bool GetGnomeSearchTitle(const ch
+ }
+
+ AutoTArray<nsString, 1> formatStrings;
+- CopyASCIItoUTF16(nsCString(aSearchedTerm), *formatStrings.AppendElement());
++ CopyUTF8toUTF16(nsCString(aSearchedTerm), *formatStrings.AppendElement());
+
+ nsAutoString gnomeSearchTitle;
+ bundle->FormatStringFromName("gnomeSearchProviderSearch", formatStrings,
+@@ -41,7 +41,7 @@ static bool GetGnomeSearchTitle(const ch
+ static const char* introspect_template =
+ "<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection "
+ "1.0//EN\"\n"
+- "\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\";>\n"
++ "\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n"
+ "<node>\n"
+ " <interface name=\"org.freedesktop.DBus.Introspectable\">\n"
+ " <method name=\"Introspect\">\n"
bgstack15