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

Function audio_edit_response

gtk/src/audiohandler.c:1518–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518static void
1519audio_edit_response (GtkWidget *dialog, int response, GhbValue *backup)
1520{
1521 signal_user_data_t *ud = ghb_ud();
1522 g_signal_handlers_disconnect_by_data(dialog, backup);
1523 gtk_widget_set_visible(dialog, FALSE);
1524 if (response != GTK_RESPONSE_OK)
1525 {
1526 GhbValue *audio_dict = ghb_get_job_audio_settings(ud->settings);
1527 ghb_dict_set(audio_dict, "AudioList", backup);
1528 GhbValue *asettings = audio_get_selected_settings(ud, NULL);
1529 if (asettings != NULL)
1530 {
1531 audio_update_dialog_widgets(ud, asettings);
1532 }
1533 audio_refresh_list_ui(ud);
1534 }
1535 else
1536 {
1537 ghb_value_free(&backup);
1538 }
1539}
1540
1541G_MODULE_EXPORT void
1542audio_remove_cb (GSimpleAction *action, GVariant *param, gpointer data)

Callers

nothing calls this directly

Calls 5

ghb_udFunction · 0.85
audio_refresh_list_uiFunction · 0.85

Tested by

no test coverage detected