| 1239 | } |
| 1240 | |
| 1241 | static void |
| 1242 | subtitle_add_response (GtkWidget *dialog, int response, GhbValue *backup) |
| 1243 | { |
| 1244 | signal_user_data_t *ud = ghb_ud(); |
| 1245 | g_signal_handlers_disconnect_by_data(dialog, backup); |
| 1246 | gtk_widget_set_visible(dialog, FALSE); |
| 1247 | if (response == GTK_RESPONSE_OK) |
| 1248 | { |
| 1249 | ghb_value_free(&backup); |
| 1250 | } |
| 1251 | else |
| 1252 | { |
| 1253 | ghb_clear_subtitle_selection(); |
| 1254 | ghb_dict_set(ghb_get_job_settings(ud->settings), |
| 1255 | "Subtitle", backup); |
| 1256 | subtitle_refresh_list_ui(ud); |
| 1257 | } |
| 1258 | ghb_update_summary_info(ud); |
| 1259 | } |
| 1260 | |
| 1261 | G_MODULE_EXPORT void |
| 1262 | subtitle_add_fas_cb (GSimpleAction *action, GVariant *param, gpointer data) |
nothing calls this directly
no test coverage detected