@hugh - can you do this as a merge request on https://gitlab.gnome.org/GNOME/gnome-control-center ? It will be much easier to review there.
First thing to note, this can be simplified:
if (gtk_tree_model_iter_n_children (model, NULL) == 1) active_input_update (dialog, input);
@hugh - can you do this as a merge request on https:/ /gitlab. gnome.org/ GNOME/gnome- control- center ? It will be much easier to review there.
First thing to note, this can be simplified:
if (gtk_tree_ model_iter_ n_children (model, NULL) == 1)
active_ input_update (dialog, input);