diff options
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/ephy-node-view.c | 17 | ||||
-rw-r--r-- | lib/widgets/ephy-node-view.h | 3 |
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index c0e34b62a..dfa6c88bc 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -1478,23 +1478,6 @@ ephy_node_view_is_target (EphyNodeView *view) return gtk_widget_is_focus (GTK_WIDGET (view)); } -gboolean -ephy_node_view_has_selection (EphyNodeView *view, gboolean *multiple) -{ - GtkTreeSelection *selection; - int rows; - - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view)); - rows = gtk_tree_selection_count_selected_rows (selection); - - if (multiple) - { - *multiple = rows > 1; - } - - return rows > 0; -} - static gboolean filter_visible_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer data) { diff --git a/lib/widgets/ephy-node-view.h b/lib/widgets/ephy-node-view.h index 50251b09b..ea0dc9f43 100644 --- a/lib/widgets/ephy-node-view.h +++ b/lib/widgets/ephy-node-view.h @@ -105,9 +105,6 @@ void ephy_node_view_set_priority (EphyNodeView *view, void ephy_node_view_remove (EphyNodeView *view); -gboolean ephy_node_view_has_selection (EphyNodeView *view, - gboolean *multiple); - GList *ephy_node_view_get_selection (EphyNodeView *view); void ephy_node_view_select_node (EphyNodeView *view, |