Fix gtk_dial_new_with_range() to use calculated round_digits

This commit is contained in:
Geoffrey D. Bennett
2024-02-08 18:08:34 +10:30
parent fcdbc60f16
commit e40ce4d5ad
+1 -1
View File
@@ -497,7 +497,7 @@ GtkWidget *gtk_dial_new_with_range(double min, double max, double step) {
return g_object_new(
GTK_TYPE_DIAL,
"adjustment", adj,
"round_digits", 0,
"round_digits", digits,
NULL
);
}