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

Function subtitle_edit_response

gtk/src/subtitlehandler.c:1817–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1815}
1816
1817static void
1818subtitle_edit_response (GtkWidget *dialog, int response, GhbValue *backup)
1819{
1820 signal_user_data_t *ud = ghb_ud();
1821 g_signal_handlers_disconnect_by_data(dialog, backup);
1822 gtk_widget_set_visible(dialog, FALSE);
1823 if (response == GTK_RESPONSE_OK)
1824 {
1825 ghb_value_free(&backup);
1826 }
1827 else
1828 {
1829 ghb_dict_set(ghb_get_job_settings(ud->settings),
1830 "Subtitle", backup);
1831 GhbValue *subsettings = subtitle_get_selected_settings(ud, NULL);
1832 if (subsettings != NULL)
1833 {
1834 subtitle_update_dialog_widgets(ud, subsettings);
1835 }
1836 subtitle_refresh_list_ui(ud);
1837 }
1838 ghb_update_summary_info(ud);
1839}
1840
1841G_MODULE_EXPORT void
1842subtitle_row_activated_cb (GtkTreeView *tv, GtkTreePath *tp,

Callers

nothing calls this directly

Calls 6

ghb_udFunction · 0.85
ghb_get_job_settingsFunction · 0.85
subtitle_refresh_list_uiFunction · 0.85
ghb_update_summary_infoFunction · 0.85

Tested by

no test coverage detected