aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-find-toolbar.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-05-18 03:10:05 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-05-19 01:22:03 +0800
commit190a05cdcd2998457472f6e4f45fbfa01acfeb15 (patch)
tree2bf2004e13ab640dde045b7bb58669b7e35f84d8 /src/ephy-find-toolbar.c
parent1cda73c6a5be184e90cc998b1d51c30de4ec95bb (diff)
downloadgsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar.gz
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar.bz2
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar.lz
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar.xz
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.tar.zst
gsoc2013-epiphany-190a05cdcd2998457472f6e4f45fbfa01acfeb15.zip
ephy-find-toolbar: remove useless ephy_find_toolbar_set_selection
Bug #611499
Diffstat (limited to 'src/ephy-find-toolbar.c')
-rw-r--r--src/ephy-find-toolbar.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 0241b1541..4d921975c 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -885,15 +885,6 @@ ephy_find_toolbar_open (EphyFindToolbar *toolbar,
gtk_widget_grab_focus (GTK_WIDGET (toolbar));
}
-static void
-ephy_find_toolbar_set_selection (EphyFindToolbar *toolbar,
- gboolean attention)
-{
- WebKitWebView *web_view = toolbar->priv->web_view;
-
- webkit_web_view_set_highlight_text_matches (web_view, attention);
-}
-
void
ephy_find_toolbar_close (EphyFindToolbar *toolbar)
{
@@ -902,7 +893,8 @@ ephy_find_toolbar_close (EphyFindToolbar *toolbar)
gtk_widget_hide (GTK_WIDGET (toolbar));
if (priv->web_view == NULL) return;
- ephy_find_toolbar_set_selection (toolbar, FALSE);
+
+ webkit_web_view_set_highlight_text_matches (priv->web_view, FALSE);
}
void