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

Function subtitle_add_response

gtk/src/subtitlehandler.c:1241–1259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239}
1240
1241static void
1242subtitle_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
1261G_MODULE_EXPORT void
1262subtitle_add_fas_cb (GSimpleAction *action, GVariant *param, gpointer data)

Callers

nothing calls this directly

Calls 5

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