diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-26 02:54:34 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-29 20:44:57 +0100 |
commit | 806dca06772e67bf44a61141c47477dca16c39a0 (patch) | |
tree | 23490244bf4dbb88c2bd36aecd7bd7171fbcd2d1 /gtk/gtktreeselection.c | |
parent | b843aa14c46a8b287e0fed4df15df1dbbf71b711 (diff) | |
download | gtk+-806dca06772e67bf44a61141c47477dca16c39a0.tar.gz |
treeview: Rename function
_gtk_tree_view_find_path() was not a name that not really described what
the function does. And I kept forgetting it. Also, it took the tree view
as an argument and that was completely unnecessary.
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r-- | gtk/gtktreeselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index d655ad3567..8ea86dce3c 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -1630,7 +1630,7 @@ gtk_tree_selection_real_select_node (GtkTreeSelection *selection, if (GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_SELECTED) != select) { - path = _gtk_tree_view_find_path (priv->tree_view, tree, node); + path = _gtk_tree_path_new_from_rbtree (tree, node); toggle = _gtk_tree_selection_row_is_selectable (selection, node, path); gtk_tree_path_free (path); } |