diff options
-rw-r--r-- | src/scale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scale.c b/src/scale.c index 7e6686b3..42284f57 100644 --- a/src/scale.c +++ b/src/scale.c @@ -114,7 +114,8 @@ zenity_scale (ZenityData *data, ZenityScaleData *scale_data) { gtk_range_set_range ( GTK_RANGE (scale), scale_data->min_value, scale_data->max_value); gtk_range_set_value (GTK_RANGE (scale), scale_data->value); - gtk_range_set_increments (GTK_RANGE (scale), scale_data->step, 0); + gtk_range_set_increments ( + GTK_RANGE (scale), scale_data->step, scale_data->step); if (scale_data->print_partial) g_signal_connect (G_OBJECT (scale), |