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

Function quit_cb

gtk/src/callbacks.c:3819–3835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3817} countdown_t;
3818
3819static gboolean
3820quit_cb(countdown_t *cd)
3821{
3822 cd->timeout--;
3823 if (cd->timeout <= 0)
3824 {
3825 gtk_window_destroy(GTK_WINDOW(cd->dlg));
3826 application_quit();
3827 return FALSE;
3828 }
3829 else
3830 {
3831 gtk_message_dialog_format_secondary_text(cd->dlg, _("%s in %d seconds…"),
3832 cd->action, cd->timeout);
3833 return TRUE;
3834 }
3835}
3836
3837static gboolean
3838shutdown_cb(countdown_t *cd)

Callers

nothing calls this directly

Calls 1

application_quitFunction · 0.85

Tested by

no test coverage detected