| 1658 | } |
| 1659 | |
| 1660 | static void |
| 1661 | source_dialog_response_cb(GtkFileChooser *chooser, |
| 1662 | GtkResponseType response, signal_user_data_t *ud) |
| 1663 | { |
| 1664 | if (response == GTK_RESPONSE_ACCEPT) |
| 1665 | { |
| 1666 | |
| 1667 | if (g_strcmp0(gtk_file_chooser_get_choice(chooser, "single"), "true") == 0) |
| 1668 | { |
| 1669 | single_title_dialog(chooser); |
| 1670 | return; |
| 1671 | } |
| 1672 | else |
| 1673 | { |
| 1674 | source_dialog_start_scan(chooser, 0); |
| 1675 | } |
| 1676 | } |
| 1677 | else |
| 1678 | { |
| 1679 | source_dialog = NULL; |
| 1680 | ghb_file_chooser_destroy(chooser); |
| 1681 | } |
| 1682 | } |
| 1683 | |
| 1684 | static int |
| 1685 | file_name_compare (GFile *file1, GFile *file2, gpointer data) |
nothing calls this directly
no test coverage detected