MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / tree_get_index

Function tree_get_index

gtk/src/presets.c:118–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118static hb_preset_index_t*
119tree_get_index(GtkTreeModel *store, GtkTreeIter *iter)
120{
121 GtkTreePath *treepath;
122 int *indices, len;
123 hb_preset_index_t *path;
124
125 treepath = gtk_tree_model_get_path(store, iter);
126 indices = gtk_tree_path_get_indices(treepath);
127 len = gtk_tree_path_get_depth(treepath);
128 path = hb_preset_index_init(indices, len);
129 gtk_tree_path_free(treepath);
130
131 return path;
132}
133
134static hb_preset_index_t*
135tree_path_get_index(GtkTreePath *treepath)

Callers 4

get_selected_pathFunction · 0.85
presets_drag_motion_cbFunction · 0.85
presets_drop_cbFunction · 0.85
ghb_get_current_presetFunction · 0.85

Calls 1

hb_preset_index_initFunction · 0.85

Tested by

no test coverage detected