| 1999 | } |
| 2000 | |
| 2001 | static void |
| 2002 | audio_def_setting_update(signal_user_data_t *ud, GtkWidget *widget) |
| 2003 | { |
| 2004 | GtkListBoxRow *row = audio_settings_get_row(widget); |
| 2005 | gint index = gtk_list_box_row_get_index(row); |
| 2006 | |
| 2007 | GhbValue *alist = ghb_dict_get_value(ud->settings, "AudioList"); |
| 2008 | int count = ghb_array_len(alist); |
| 2009 | if (!block_updates && index >= 0 && index < count) |
| 2010 | { |
| 2011 | GhbValue *adict = ghb_array_get(alist, index); |
| 2012 | ghb_widget_to_setting(adict, widget); |
| 2013 | } |
| 2014 | } |
| 2015 | |
| 2016 | static void |
| 2017 | audio_add_lang_iter(GtkTreeModel *tm, GtkTreeIter *iter, signal_user_data_t *ud) |
no test coverage detected