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

Function quit_action_cb

gtk/src/callbacks.c:477–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477G_MODULE_EXPORT void
478quit_action_cb (GSimpleAction *action, GVariant *param, gpointer data)
479{
480 gint state = ghb_get_queue_state();
481 if (state & (GHB_STATE_WORKING|GHB_STATE_SEARCHING))
482 {
483 quit_dialog_show();
484 return;
485 }
486 else
487 {
488 application_quit();
489 }
490}
491
492static gboolean
493uppers_and_unders(gchar *str)

Callers

nothing calls this directly

Calls 3

ghb_get_queue_stateFunction · 0.85
quit_dialog_showFunction · 0.85
application_quitFunction · 0.85

Tested by

no test coverage detected