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

Function audio_add_to_ui

gtk/src/audiohandler.c:1321–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319}
1320
1321static void
1322audio_add_to_ui (signal_user_data_t *ud, const GhbValue *asettings)
1323{
1324 GtkTreeView *tv;
1325 GtkTreeIter ti;
1326 GtkTreeModel *tm;
1327 GtkTreeSelection *ts;
1328
1329 if (asettings == NULL)
1330 return;
1331
1332 tv = GTK_TREE_VIEW(ghb_builder_widget("audio_list_view"));
1333 ts = gtk_tree_view_get_selection (tv);
1334 tm = gtk_tree_view_get_model(tv);
1335
1336 gtk_tree_store_append(GTK_TREE_STORE(tm), &ti, NULL);
1337 gtk_tree_selection_select_iter(ts, &ti);
1338
1339 audio_refresh_list_row_ui(tm, &ti, ud, asettings);
1340}
1341
1342G_MODULE_EXPORT void
1343audio_list_selection_changed_cb (GtkTreeSelection *ts, gpointer data)

Callers 1

audio_add_cbFunction · 0.85

Calls 2

ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected