Fix gtk_dial_new_with_range() to use calculated round_digits

This commit is contained in:
Geoffrey D. Bennett
2024-01-16 07:19:21 +10:30
parent fcdbc60f16
commit e40ce4d5ad

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
);
}