diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-05-18 03:10:05 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-08-31 04:32:56 +0800 |
commit | 78adecb7d05452952d3e107761d5f607f7b11478 (patch) | |
tree | ac170aacb21bf843610fd04002d121c1ee47a12b /src/ephy-find-toolbar.c | |
parent | 97b3ff7c54c88940d8b931a411234c41f14dfde7 (diff) | |
download | gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar.gz gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar.bz2 gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar.lz gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar.xz gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.tar.zst gsoc2013-epiphany-78adecb7d05452952d3e107761d5f607f7b11478.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.c | 12 |
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 |