Update upstream patches
This commit is contained in:
parent
d585e605de
commit
ebf9521d9c
@ -1,9 +1,7 @@
|
|||||||
diff --git a/widget/gtk/DBusService.cpp b/widget/gtk/DBusService.cpp
|
diff -up firefox-126.0/widget/gtk/DBusService.cpp.D210158.1715685536 firefox-126.0/widget/gtk/DBusService.cpp
|
||||||
--- a/widget/gtk/DBusService.cpp
|
--- firefox-126.0/widget/gtk/DBusService.cpp.D210158.1715685536 2024-05-14 11:19:02.098199593 +0200
|
||||||
+++ b/widget/gtk/DBusService.cpp
|
+++ firefox-126.0/widget/gtk/DBusService.cpp 2024-05-14 11:24:44.236939835 +0200
|
||||||
@@ -83,42 +83,27 @@
|
@@ -85,38 +85,24 @@ static const char* kIntrospectTemplate =
|
||||||
"</interface>\n"
|
|
||||||
"</node>\n";
|
|
||||||
|
|
||||||
bool DBusService::LaunchApp(const char* aCommand, const char** aURIList,
|
bool DBusService::LaunchApp(const char* aCommand, const char** aURIList,
|
||||||
int aURIListLen) {
|
int aURIListLen) {
|
||||||
@ -37,7 +35,8 @@ diff --git a/widget/gtk/DBusService.cpp b/widget/gtk/DBusService.cpp
|
|||||||
- PR_FAILURE);
|
- PR_FAILURE);
|
||||||
- }
|
- }
|
||||||
+ param.Append(" ");
|
+ param.Append(" ");
|
||||||
+ param.Append(aURIList[i]);
|
+ GUniquePtr<char> escUri(g_shell_quote(aURIList[i]));
|
||||||
|
+ param.Append(escUri.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
- for (int i = 0; i < argc; i++) {
|
- for (int i = 0; i < argc; i++) {
|
||||||
@ -53,6 +52,3 @@ diff --git a/widget/gtk/DBusService.cpp b/widget/gtk/DBusService.cpp
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The Activate method is called when the application is started without
|
|
||||||
// files to open.
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user