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

Function low_disk_check_response_cb

gtk/src/queuehandler.c:1542–1566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540}
1541
1542static void
1543low_disk_check_response_cb (GtkDialog *dialog, int response,
1544 signal_user_data_t *ud)
1545{
1546 g_signal_handlers_disconnect_by_data(dialog, ud);
1547 gtk_window_destroy(GTK_WINDOW(dialog));
1548 ghb_withdraw_notification(GHB_NOTIFY_PAUSED_LOW_DISK_SPACE);
1549 switch (response)
1550 {
1551 case 1:
1552 ghb_resume_queue();
1553 break;
1554 case 2:
1555 skip_disk_space_check = TRUE;
1556 ghb_resume_queue();
1557 break;
1558 case 3:
1559 ghb_stop_queue();
1560 ghb_set_cancel_status(GHB_CANCEL_ALL);
1561 break;
1562 default:
1563 ghb_resume_queue();
1564 break;
1565 }
1566}
1567
1568void ghb_low_disk_check (signal_user_data_t *ud)
1569{

Callers

nothing calls this directly

Calls 4

ghb_resume_queueFunction · 0.85
ghb_stop_queueFunction · 0.85
ghb_set_cancel_statusFunction · 0.85

Tested by

no test coverage detected