void linphone_gtk_log_scroll_to_end(GtkToggleButton *button) { if (gtk_toggle_button_get_active(button)){ GtkTextView *v=GTK_TEXT_VIEW(linphone_gtk_get_widget(log_window,"textview")); stick_to_end(v); } lp_config_set_int(linphone_core_get_config(linphone_gtk_get_core()), "GtkUi", "logs_scroll_to_end", gtk_toggle_button_get_active(button) ? 1 : 0); }
void linphone_gtk_log_scroll_to_end(GtkToggleButton *button){ if (gtk_toggle_button_get_active(button)){ GtkTextView *v=GTK_TEXT_VIEW(linphone_gtk_get_widget(log_window,"textview")); stick_to_end(v); } }