From 69a0c785223d2bb5091838275b7511b42627bbd7 Mon Sep 17 00:00:00 2001 From: Digitalone1 Date: Thu, 4 Apr 2024 15:11:33 +0200 Subject: [PATCH] parse_spinbutton_input: use gdouble --- include/ui_helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ui_helpers.hpp b/include/ui_helpers.hpp index 37aa6ca85..18b6917cf 100644 --- a/include/ui_helpers.hpp +++ b/include/ui_helpers.hpp @@ -63,7 +63,7 @@ void show_simple_message_dialog(GtkWidget* parent, const std::string& title, con auto parse_spinbutton_output(GtkSpinButton* button, const char* unit, const bool& lower_bound = true) -> gboolean; -auto parse_spinbutton_input(GtkSpinButton* button, double* new_value, const bool& lower_bound = true) -> gint; +auto parse_spinbutton_input(GtkSpinButton* button, gdouble* new_value, const bool& lower_bound = true) -> gint; auto get_new_filter_serial() -> uint;