[epiphany/tmp-gnome-2-32: 5/31] ephy-find-toolbar: remove useless ephy_find_toolbar_set_selection



commit bbad6d733f2a1a6295be3c0637b0f80a120966cb
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Mon May 17 14:10:05 2010 -0500

    ephy-find-toolbar: remove useless ephy_find_toolbar_set_selection
    
    Bug #611499

 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 0241b15..4d92197 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]