aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-04-04 01:09:22 +0200
committerRobert Tari <robert@tari.in>2024-04-04 01:09:22 +0200
commit87715f3fa7afcc84585cfa45f9d2e36af191c6f3 (patch)
treeff3db8aaf5bc4d30d510c1df847ffbc5964c8e6b /src/idoscalemenuitem.c
parent13402a2cc4616b4b5f4244413599e635fcfc1401 (diff)
downloadayatana-ido-87715f3fa7afcc84585cfa45f9d2e36af191c6f3.tar.gz
ayatana-ido-87715f3fa7afcc84585cfa45f9d2e36af191c6f3.tar.bz2
ayatana-ido-87715f3fa7afcc84585cfa45f9d2e36af191c6f3.zip
src/idoscalemenuitem.c: Make page increment same as step increment
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r--src/idoscalemenuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 37a9385..baad442 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -1,6 +1,6 @@
/*
* Copyright 2010 Canonical, Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2024 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of either or both of the following licenses:
@@ -701,7 +701,7 @@ ido_scale_menu_item_new_with_range (const gchar *label,
gdouble max,
gdouble step)
{
- GObject *adjustment = G_OBJECT (gtk_adjustment_new (value, min, max, step, 10 * step, 0));
+ GObject *adjustment = G_OBJECT (gtk_adjustment_new (value, min, max, step, step, 0));
return GTK_WIDGET (g_object_new (IDO_TYPE_SCALE_MENU_ITEM,
"label", label,