diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-12-13 02:56:55 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-12-13 02:56:55 +0800 |
commit | 688f1eb848219bc477a2ecaea7a647ff9d9b7f72 (patch) | |
tree | a90b4118e03f10652b5ed2311d23e9d4e0dd5bf5 /src | |
parent | 4984c226696d94769014ae33ec635c9d42fd7287 (diff) | |
download | gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar.gz gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar.bz2 gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar.lz gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar.xz gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.tar.zst gsoc2013-epiphany-688f1eb848219bc477a2ecaea7a647ff9d9b7f72.zip |
ephy-find-toolbar: fix build in wk2
Diffstat (limited to 'src')
-rw-r--r-- | 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 989579f2e..ae4240b00 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 |