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

Function ghb_clear_subtitle_selection

gtk/src/subtitlehandler.c:1039–1050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037}
1038
1039void
1040ghb_clear_subtitle_selection (void)
1041{
1042 GtkTreeView *tv;
1043 GtkTreeSelection *tsel;
1044
1045 tv = GTK_TREE_VIEW(ghb_builder_widget("subtitle_list_view"));
1046 // Clear tree selection so that updates are not triggered
1047 // that cause a recursive attempt to clear the tree selection (crasher)
1048 tsel = gtk_tree_view_get_selection(tv);
1049 gtk_tree_selection_unselect_all(tsel);
1050}
1051
1052static void
1053clear_subtitle_list_ui (void)

Callers 3

subtitle_add_responseFunction · 0.85
ghb_load_post_settingsFunction · 0.85

Calls 1

ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected