| 1037 | } |
| 1038 | |
| 1039 | void |
| 1040 | ghb_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 | |
| 1052 | static void |
| 1053 | clear_subtitle_list_ui (void) |
no test coverage detected