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

Function queue_list_selection_changed_cb

gtk/src/queuehandler.c:2286–2306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2284}
2285
2286G_MODULE_EXPORT void
2287queue_list_selection_changed_cb (GtkListBox *box, GtkListBoxRow *row,
2288 gpointer data)
2289{
2290 GhbValue * queueDict = NULL;
2291 int index = -1;
2292 signal_user_data_t *ud = ghb_ud();
2293
2294 if (row != NULL)
2295 {
2296 index = gtk_list_box_row_get_index(row);
2297 }
2298 if (index >= 0 && index < ghb_array_len(ud->queue))
2299 {
2300 queueDict = ghb_array_get(ud->queue, index);
2301 }
2302 queue_update_summary(queueDict, ud);
2303 queue_update_stats(queueDict, ud);
2304 ghb_queue_select_log(ud);
2305 ghb_queue_buttons_grey(ud);
2306}
2307
2308G_MODULE_EXPORT void
2309queue_delete_all_action_cb (GSimpleAction *action, GVariant *param,

Callers

nothing calls this directly

Calls 5

ghb_udFunction · 0.85
queue_update_summaryFunction · 0.85
queue_update_statsFunction · 0.85
ghb_queue_select_logFunction · 0.85
ghb_queue_buttons_greyFunction · 0.85

Tested by

no test coverage detected