| 945 | } |
| 946 | |
| 947 | G_MODULE_EXPORT void |
| 948 | import_setting_update (GhbValue *val, const char *name, gpointer data) |
| 949 | { |
| 950 | GhbValue *subsettings; |
| 951 | signal_user_data_t *ud = ghb_ud(); |
| 952 | subsettings = subtitle_get_selected_settings(ud, NULL); |
| 953 | if (subsettings != NULL) |
| 954 | { |
| 955 | GhbValue * import; |
| 956 | import = ghb_dict_get(subsettings, "Import"); |
| 957 | if (import != NULL) |
| 958 | { |
| 959 | ghb_dict_set(import, name, val); |
| 960 | subtitle_list_refresh_selected(ud, subsettings); |
| 961 | ghb_update_summary_info(ud); |
| 962 | ghb_live_reset(ud); |
| 963 | } |
| 964 | else |
| 965 | { |
| 966 | ghb_value_free(&val); |
| 967 | } |
| 968 | } |
| 969 | else |
| 970 | { |
| 971 | ghb_value_free(&val); |
| 972 | } |
| 973 | } |
| 974 | |
| 975 | G_MODULE_EXPORT void |
| 976 | import_offset_changed_cb (GtkWidget *widget, gpointer data) |
no test coverage detected