diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-11 05:07:27 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-11 05:07:27 +0100 |
commit | bd736049994e107e45d30c3a3dcc299c24acc28d (patch) | |
tree | 53aefabc1527c9857de7200478f922dba3af5c28 /ui/gtk.c | |
parent | 0cbf27447d6c9001fa9357963631816f50a53ed3 (diff) | |
download | librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.gz librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.bz2 librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.tar.xz librcc-bd736049994e107e45d30c3a3dcc299c24acc28d.zip |
Prevent GTK complains
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |