[evolution] Adjust for webkit 1.9.90 API change.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Adjust for webkit 1.9.90 API change.
- Date: Fri, 24 Aug 2012 20:48:09 +0000 (UTC)
commit 485704419b11685e4753024dabec53d1668aaa9d
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Fri Aug 24 16:47:00 2012 -0400
Adjust for webkit 1.9.90 API change.
widgets/misc/e-web-view.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 802e402..6612876 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]