[epiphany] Bump WebKitGTK+ requirements and update to the new API
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Bump WebKitGTK+ requirements and update to the new API
- Date: Fri, 20 Jul 2018 08:13:51 +0000 (UTC)
commit 4e35d9b5b1f26019ede44b567374c3ba083a089a
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Jul 20 10:10:50 2018 +0200
Bump WebKitGTK+ requirements and update to the new API
jsc_context_evaluate_with_source_uri() now receives a starting line
number parameter.
embed/web-extension/ephy-web-extension.c | 4 ++--
meson.build | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index e17901253..9b3fddfa7 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -872,7 +872,7 @@ window_object_cleared_cb (WebKitScriptWorld *world,
bytes = g_resources_lookup_data ("/org/gnome/epiphany-web-extension/js/ephy.js",
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
data = g_bytes_get_data (bytes, &data_size);
- result = jsc_context_evaluate_with_source_uri (js_context, data, data_size,
"resource:///org/gnome/epiphany-web-extension/js/ephy.js");
+ result = jsc_context_evaluate_with_source_uri (js_context, data, data_size,
"resource:///org/gnome/epiphany-web-extension/js/ephy.js", 1);
g_bytes_unref (bytes);
g_object_unref (result);
@@ -901,7 +901,7 @@ window_object_cleared_cb (WebKitScriptWorld *world,
bytes = g_resources_lookup_data ("/org/gnome/epiphany-web-extension/js/overview.js",
G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
data = g_bytes_get_data (bytes, &data_size);
- result = jsc_context_evaluate_with_source_uri (js_context, data, data_size,
"resource:///org/gnome/epiphany-web-extension/js/overview.js");
+ result = jsc_context_evaluate_with_source_uri (js_context, data, data_size,
"resource:///org/gnome/epiphany-web-extension/js/overview.js", 1);
g_bytes_unref (bytes);
g_object_unref (result);
diff --git a/meson.build b/meson.build
index 7c2795215..cd84e4825 100644
--- a/meson.build
+++ b/meson.build
@@ -67,7 +67,7 @@ endif
glib_requirement = '>= 2.52.0'
gtk_requirement = '>= 3.22.13'
nettle_requirement = '>= 3.2'
-webkitgtk_requirement = '>= 2.21.4'
+webkitgtk_requirement = '>= 2.21.5'
cairo_dep = dependency('cairo', version: '>= 1.2')
dazzle_dep = dependency('libdazzle-1.0', version: '>= 3.28.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]