Fix gtk_dial_new_with_range() to use calculated round_digits
This commit is contained in:
@@ -497,7 +497,7 @@ GtkWidget *gtk_dial_new_with_range(double min, double max, double step) {
|
|||||||
return g_object_new(
|
return g_object_new(
|
||||||
GTK_TYPE_DIAL,
|
GTK_TYPE_DIAL,
|
||||||
"adjustment", adj,
|
"adjustment", adj,
|
||||||
"round_digits", 0,
|
"round_digits", digits,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user