* Refreshes the UI by updating the underlying GtkAdjustments with * the values set by the user. This function is only called when the * focus changes to avoid changing the text while the user is typing. */
| 3524 | * focus changes to avoid changing the text while the user is typing. |
| 3525 | */ |
| 3526 | G_MODULE_EXPORT void |
| 3527 | ptop_update_ui_cb (GtkWidget *widget, gpointer data) |
| 3528 | { |
| 3529 | GtkAdjustment *adj; |
| 3530 | double value; |
| 3531 | signal_user_data_t *ud = ghb_ud(); |
| 3532 | |
| 3533 | adj = GTK_ADJUSTMENT(ghb_builder_object("start_point_adj")); |
| 3534 | value = ghb_dict_get_double(ud->settings, "start_point"); |
| 3535 | gtk_adjustment_set_value(adj, value); |
| 3536 | |
| 3537 | adj = GTK_ADJUSTMENT(ghb_builder_object("end_point_adj")); |
| 3538 | value = ghb_dict_get_double(ud->settings, "end_point"); |
| 3539 | gtk_adjustment_set_value(adj, value); |
| 3540 | } |
| 3541 | |
| 3542 | G_MODULE_EXPORT void |
| 3543 | scale_width_changed_cb (GtkWidget *widget, gpointer data) |
nothing calls this directly
no test coverage detected