| 425 | } |
| 426 | |
| 427 | static void |
| 428 | chapters_import_response_cb (GtkFileChooser *dialog, |
| 429 | GtkResponseType response, |
| 430 | signal_user_data_t *ud) |
| 431 | { |
| 432 | char *filename; |
| 433 | |
| 434 | if (response == GTK_RESPONSE_ACCEPT) |
| 435 | { |
| 436 | filename = ghb_file_chooser_get_filename(dialog); |
| 437 | chapter_list_import_xml(filename, ud); |
| 438 | g_free(filename); |
| 439 | } |
| 440 | ghb_file_chooser_destroy(dialog); |
| 441 | } |
| 442 | |
| 443 | G_MODULE_EXPORT void |
| 444 | chapters_export_action_cb (GSimpleAction *action, GVariant *param, |
nothing calls this directly
no test coverage detected