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

Function ghb_stop_encode_dialog_show

gtk/src/callbacks.c:4109–4121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4107}
4108
4109void
4110ghb_stop_encode_dialog_show (signal_user_data_t *ud)
4111{
4112 GtkWindow *window = gtk_application_get_active_window(
4113 GTK_APPLICATION(g_application_get_default()));
4114 GtkWidget *dialog = ghb_cancel_dialog_new(window, _("Stop Encoding?"),
4115 _("Your movie will be lost if you don't continue encoding."),
4116 _("Cancel Current and Stop"), _("Cancel Current, Start Next"),
4117 _("Finish Current and Stop"), _("Continue Encoding"));
4118 g_signal_connect(dialog, "response",
4119 G_CALLBACK(stop_encode_dialog_response), ud);
4120 gtk_widget_set_visible(dialog, TRUE);
4121}
4122
4123static void
4124quit_dialog_response (GtkDialog *dialog, int response, gpointer data)

Callers 1

queue_start_action_cbFunction · 0.85

Calls 1

ghb_cancel_dialog_newFunction · 0.85

Tested by

no test coverage detected