diff options
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r-- | src/idoscalemenuitem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 2f9cb4e..a08f2fc 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -498,11 +498,12 @@ ido_scale_menu_item_new (const gchar *label, **/ GtkWidget* ido_scale_menu_item_new_with_range (const gchar *label, + gdouble value, gdouble min, gdouble max, gdouble step) { - GtkObject *adjustment = gtk_adjustment_new (min, min, max, step, 10 * step, 0); + GtkObject *adjustment = gtk_adjustment_new (value, min, max, step, 10 * step, 0); return g_object_new (IDO_TYPE_SCALE_MENU_ITEM, "label", label, |