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

Function add_to_subtitle_list_ui

gtk/src/subtitlehandler.c:1068–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066}
1067
1068static void
1069add_to_subtitle_list_ui(signal_user_data_t *ud, GhbValue *subsettings)
1070{
1071 GtkTreeView *tv;
1072 GtkTreeIter ti;
1073 GtkTreeModel *tm;
1074 GtkTreeSelection *ts;
1075
1076 tv = GTK_TREE_VIEW(ghb_builder_widget("subtitle_list_view"));
1077 ts = gtk_tree_view_get_selection(tv);
1078 tm = gtk_tree_view_get_model(tv);
1079
1080 gtk_tree_store_append(GTK_TREE_STORE(tm), &ti, NULL);
1081 subtitle_refresh_list_row_ui(tm, &ti, ud->settings, subsettings);
1082
1083 gtk_tree_selection_select_iter(ts, &ti);
1084}
1085
1086G_MODULE_EXPORT void
1087subtitle_list_selection_changed_cb (GtkTreeSelection *ts, gpointer data)

Callers 1

add_subtitle_to_uiFunction · 0.85

Calls 2

ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected