summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-11 05:07:27 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-11 05:07:27 +0100
commitbd736049994e107e45d30c3a3dcc299c24acc28d (patch)
tree53aefabc1527c9857de7200478f922dba3af5c28 /ui
parent0cbf27447d6c9001fa9357963631816f50a53ed3 (diff)
downloadlibrcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.gz
librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.bz2
librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.xz
librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.zip
Prevent GTK complains
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk.c b/ui/gtk.c
index b003689..f7e04ac 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -326,7 +326,7 @@ int rccUiMenuConfigureWidget(rcc_ui_menu_context ctx) {
break;
case RCC_OPTION_RANGE_TYPE_RANGE:
range = rccUiMenuGetRange(ctx);
- adjustment = gtk_adjustment_new(rccGetOption(rccctx, rccUiMenuGetOption(ctx)), range->min, range->max, range->step, range->step*5, range->step*5);
+ adjustment = gtk_adjustment_new(rccGetOption(rccctx, rccUiMenuGetOption(ctx)), range->min, range->max, range->step, 0, 0);
/* item = gtk_hscale_new(GTK_ADJUSTMENT(adjustment));
gtk_scale_set_digits(GTK_SCALE(item), 0);*/
item = gtk_spin_button_new(GTK_ADJUSTMENT(adjustment), range->step, 0);