summaryrefslogtreecommitdiff
path: root/mozilla-1885133.patch
diff options
context:
space:
mode:
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