diff options
Diffstat (limited to 'lib/widgets/ephy-node-view.c')
-rw-r--r-- | lib/widgets/ephy-node-view.c | 17 |
1 files changed, 0 insertions, 17 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) { |