diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | 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 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); |