webkit2gtk3/webkitgtk-typelib-sharelib-link.patch

36 lines
2.3 KiB
Diff

Index: webkitgtk-2.11.90/Source/JavaScriptCore/JavaScriptCore.gir.in
===================================================================
--- webkitgtk-2.11.90.orig/Source/JavaScriptCore/JavaScriptCore.gir.in
+++ webkitgtk-2.11.90/Source/JavaScriptCore/JavaScriptCore.gir.in
@@ -3,7 +3,7 @@
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="JavaScriptCore" version="@WEBKITGTK_API_VERSION@"
- shared-library="javascriptcoregtk-@WEBKITGTK_API_VERSION@"
+ shared-library="libjavascriptcoregtk-@WEBKITGTK_API_VERSION@.so.18"
c:identifier-prefixes="JS"
c:symbol-prefixes="JS">
<record name="GlobalContext" c:type="JSGlobalContextRef" foreign="1"/>
Index: webkitgtk-2.11.90/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
===================================================================
--- webkitgtk-2.11.90.orig/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
+++ webkitgtk-2.11.90/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
@@ -116,7 +116,7 @@ void WebUserContentControllerProxy::addU
void WebUserContentControllerProxy::removeUserScript(const API::UserScript& userScript)
{
for (WebProcessProxy* process : m_processes)
- process->connection()->send(Messages::WebUserContentController::RemoveUserScript({ userScript.userScript().url().string() }), m_identifier);
+ process->connection()->send(Messages::WebUserContentController::RemoveUserScript(userScript.userScript().url().string()), m_identifier);
m_userScripts->elements().removeAll(&userScript);
}
@@ -140,7 +140,7 @@ void WebUserContentControllerProxy::addU
void WebUserContentControllerProxy::removeUserStyleSheet(const API::UserStyleSheet& userStyleSheet)
{
for (WebProcessProxy* process : m_processes)
- process->connection()->send(Messages::WebUserContentController::RemoveUserStyleSheet({ userStyleSheet.userStyleSheet().url().string() }), m_identifier);
+ process->connection()->send(Messages::WebUserContentController::RemoveUserStyleSheet(userStyleSheet.userStyleSheet().url().string()), m_identifier);
m_userStyleSheets->elements().removeAll(&userStyleSheet);
}