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

Function ghb_queue_item_set_status

gtk/src/queuehandler.c:1033–1053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031}
1032
1033void
1034ghb_queue_item_set_status (signal_user_data_t *ud, int index, int status)
1035{
1036 GtkListBox * lb;
1037 GtkListBoxRow * row;
1038
1039 int count = ghb_array_len(ud->queue);
1040 if (index < 0 || index >= count)
1041 {
1042 // invalid index
1043 return;
1044 }
1045
1046 lb = GTK_LIST_BOX(ghb_builder_widget("queue_list"));
1047 row = gtk_list_box_get_row_at_index(lb, index);
1048 if (row == NULL)
1049 {
1050 return;
1051 }
1052 ghb_queue_row_set_status(GHB_QUEUE_ROW(row), status);
1053}
1054
1055void ghb_queue_progress_set_fraction (signal_user_data_t *ud,
1056 int index, gdouble frac)

Callers 3

submit_jobFunction · 0.85
ghb_backend_eventsFunction · 0.85
ghb_queue_update_statusFunction · 0.85

Calls 2

ghb_builder_widgetFunction · 0.85
ghb_queue_row_set_statusFunction · 0.85

Tested by

no test coverage detected