aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-07 23:14:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-08 00:26:13 +0800
commit847d77cf5737aa544901e4862604065c4d0694c6 (patch)
tree6378745811401bbeed8475cdd271b271432f9091
parentc32d28721635c2fda3af08f1c17d42a5a8beb7fa (diff)
downloadgsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar.gz
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar.bz2
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar.lz
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar.xz
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.tar.zst
gsoc2013-evolution-847d77cf5737aa544901e4862604065c4d0694c6.zip
EWebView: Remove a backward-compatibility hack.
We require WebKitGTK+ >= 1.10 so we can drop a hack to support < 1.9.6. (cherry picked from commit fa875d8565824e3a6c2cdeeb9b2e4e95009c2723)
-rw-r--r--e-util/e-web-view.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index dd4f261326..32c37e026d 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -468,15 +468,7 @@ web_view_update_document_highlights (EWebView *web_view)
span = webkit_dom_document_create_element (document, "span", NULL);
- /* See https://bugzilla.gnome.org/show_bug.cgi?id=681400
- * FIXME: This can be removed once we require WebKitGtk 1.10+ */
- #if WEBKIT_CHECK_VERSION (1, 9, 6)
- webkit_dom_element_set_class_name (
- span, "__evo-highlight");
- #else
- webkit_dom_html_element_set_class_name (
- WEBKIT_DOM_HTML_ELEMENT (span), "__evo-highlight");
- #endif
+ webkit_dom_element_set_class_name (span, "__evo-highlight");
webkit_dom_html_element_set_inner_text (
WEBKIT_DOM_HTML_ELEMENT (span), text, NULL);