summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-18 13:18:17 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-18 13:18:17 +0000
commitab81bf2b2c38b95efa39112083e6d9e10f81501b (patch)
treed1e0739c434e8f1e2dd78b9bb1f4e9898dec1746 /gtk/gtkscale.c
parent9fe4bffd4f6a73fe8e4d4673832be853b35ea2f3 (diff)
downloadgtk+-ab81bf2b2c38b95efa39112083e6d9e10f81501b.tar.gz
Fix the default values of draw-value and value-pos to be the values we
2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscale.c (gtk_scale_class_init): Fix the default values of draw-value and value-pos to be the values we actually use in _init. (#304547, Mikael Hallendal)
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r--gtk/gtkscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index e3abc94b4c..38724adf84 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -182,7 +182,7 @@ gtk_scale_class_init (GtkScaleClass *class)
g_param_spec_boolean ("draw-value",
P_("Draw Value"),
P_("Whether the current value is displayed as a string next to the slider"),
- FALSE,
+ TRUE,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@@ -191,7 +191,7 @@ gtk_scale_class_init (GtkScaleClass *class)
P_("Value Position"),
P_("The position in which the current value is displayed"),
GTK_TYPE_POSITION_TYPE,
- GTK_POS_LEFT,
+ GTK_POS_TOP,
GTK_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,