| 1617 | } |
| 1618 | |
| 1619 | static void |
| 1620 | single_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 | |
| 1638 | static void |
| 1639 | single_title_dialog (GtkFileChooser *chooser) |
nothing calls this directly
no test coverage detected