aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2012-08-25 04:47:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-25 04:47:00 +0800
commit485704419b11685e4753024dabec53d1668aaa9d (patch)
tree26ff2872f6749b9f122132c0452c8898dabb16fb /widgets
parent617d2a18d0eb6704e19c5f288ea50b15dffed1d4 (diff)
downloadgsoc2013-evolution-485704419b11685e4753024dabec53d1668aaa9d.tar.gz
gsoc2013-evolution-485704419b11685e4753024dabec53d1668aaa9d.tar.zst
gsoc2013-evolution-485704419b11685e4753024dabec53d1668aaa9d.zip
Adjust for webkit 1.9.90 API change.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-web-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 802e402438..6612876b32 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -390,8 +390,13 @@ replace_text (WebKitDOMNode *node,
}
split_offset = offset - node_data + text_length;
+ #if WEBKIT_CHECK_VERSION (1, 9, 90)
+ replacement_node =
+ webkit_dom_node_clone_node (replacement, TRUE, NULL);
+ #else
replacement_node =
webkit_dom_node_clone_node (replacement, TRUE);
+ #endif
data_length = webkit_dom_character_data_get_length (
(WebKitDOMCharacterData *) node);