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

Function quit_dialog_show

gtk/src/callbacks.c:4132–4144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4130 }
4131}
4132static void
4133quit_dialog_show (void)
4134{
4135 GtkWindow *window = gtk_application_get_active_window(
4136 GTK_APPLICATION(g_application_get_default()));
4137 g_warn_if_fail(GTK_IS_APPLICATION_WINDOW(window));
4138
4139 GtkWidget *dialog = ghb_cancel_dialog_new(window, _("Quit HandBrake?"),
4140 _("Your movie will be lost if you don't continue encoding."),
4141 _("Cancel All and Quit"), NULL, NULL, _("Continue Encoding"));
4142 g_signal_connect(dialog, "response", G_CALLBACK(quit_dialog_response), NULL);
4143 gtk_widget_set_visible(dialog, TRUE);
4144}
4145
4146static void
4147start_new_log(signal_user_data_t *ud, GhbValue *uiDict)

Callers 2

quit_action_cbFunction · 0.85
window_close_request_cbFunction · 0.85

Calls 1

ghb_cancel_dialog_newFunction · 0.85

Tested by

no test coverage detected