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

Function window_close_request_cb

gtk/src/callbacks.c:2131–2146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2129}
2130
2131G_MODULE_EXPORT gboolean
2132window_close_request_cb(GtkWidget *widget, gpointer data)
2133{
2134 ghb_log_func();
2135 gint state = ghb_get_queue_state();
2136 if (state & (GHB_STATE_WORKING | GHB_STATE_SEARCHING))
2137 {
2138 quit_dialog_show();
2139 return TRUE;
2140 }
2141 else
2142 {
2143 application_quit();
2144 return FALSE;
2145 }
2146}
2147
2148static void
2149update_acodec(signal_user_data_t *ud)

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