[epiphany] ephy-find-toolbar: fix build in wk2
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-find-toolbar: fix build in wk2
- Date: Wed, 12 Dec 2012 19:03:35 +0000 (UTC)
commit 688f1eb848219bc477a2ecaea7a647ff9d9b7f72
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Dec 12 19:56:55 2012 +0100
ephy-find-toolbar: fix build in wk2
src/ephy-find-toolbar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 989579f..ae4240b 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -177,7 +177,11 @@ clear_status (EphyFindToolbar *toolbar)
gtk_widget_set_sensitive (GTK_WIDGET (priv->prev), FALSE);
gtk_widget_set_sensitive (GTK_WIDGET (priv->next), FALSE);
+#ifdef HAVE_WEBKIT2
+ webkit_find_controller_search_finish (priv->controller);
+#else
webkit_web_view_unmark_text_matches (priv->web_view);
+#endif
}
/* Code adapted from gtktreeview.c:gtk_tree_view_key_press() and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]