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

Function single_title_dialog_response

gtk/src/callbacks.c:1619–1636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1617}
1618
1619static void
1620single_title_dialog_response (GtkMessageDialog *dialog, int response,
1621 GtkFileChooser *chooser)
1622{
1623 GtkWidget *msg = gtk_message_dialog_get_message_area(dialog);
1624 GtkWidget *spin = gtk_widget_get_last_child(msg);
1625 int result = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spin));
1626 gtk_window_destroy(GTK_WINDOW(dialog));
1627 if (response == GTK_RESPONSE_OK)
1628 {
1629 source_dialog_start_scan(chooser, result);
1630 }
1631 else
1632 {
1633 source_dialog = NULL;
1634 ghb_file_chooser_destroy(chooser);
1635 }
1636}
1637
1638static void
1639single_title_dialog (GtkFileChooser *chooser)

Callers

nothing calls this directly

Calls 2

source_dialog_start_scanFunction · 0.85
ghb_file_chooser_destroyFunction · 0.85

Tested by

no test coverage detected