| 132 | } |
| 133 | |
| 134 | static hb_preset_index_t* |
| 135 | tree_path_get_index(GtkTreePath *treepath) |
| 136 | { |
| 137 | int *indices, len; |
| 138 | |
| 139 | indices = gtk_tree_path_get_indices(treepath); |
| 140 | len = gtk_tree_path_get_depth(treepath); |
| 141 | |
| 142 | return hb_preset_index_init(indices, len); |
| 143 | } |
| 144 | |
| 145 | // This only handle limited depth |
| 146 | static GtkTreePath* |
no test coverage detected