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

Function suspend_cb

gtk/src/callbacks.c:3855–3868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3853}
3854
3855static gboolean
3856suspend_cb(countdown_t *cd)
3857{
3858 cd->timeout--;
3859 gtk_message_dialog_format_secondary_text(cd->dlg, _("%s in %d seconds…"),
3860 cd->action, cd->timeout);
3861 if (cd->timeout == 0)
3862 {
3863 gtk_window_destroy(GTK_WINDOW(cd->dlg));
3864 suspend_logind();
3865 return FALSE;
3866 }
3867 return TRUE;
3868}
3869
3870static void
3871countdown_dialog_response (GtkDialog *dialog, int response, guint *timeout_id)

Callers

nothing calls this directly

Calls 1

suspend_logindFunction · 0.85

Tested by

no test coverage detected