diff options
author | Timm Bäder <mail@baedert.org> | 2017-07-13 16:28:49 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:16 -0400 |
commit | 348871d9fc4628713501c6198ed7738703db7f4a (patch) | |
tree | c2cbc4ba7e099b7ea43f4ba8962ea1f0f9f8546d /gtk/gtkspinbutton.c | |
parent | 5720f2a845f24df99c266207c342754373d096bd (diff) | |
download | gtk+-348871d9fc4628713501c6198ed7738703db7f4a.tar.gz |
Fix a few testsuite failures
Adjust default property values, skip GtkRange:adjustment.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r-- | gtk/gtkspinbutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 2593cd8bd1..71498d9071 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -422,7 +422,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) g_param_spec_string ("text", P_("Text"), P_("The contents of the entry"), - "", + "0", /* Default value of the default adjustment */ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); g_object_class_override_property (gobject_class, @@ -436,8 +436,8 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) * * The ::input signal can be used to influence the conversion of * the users input into a double value. The signal handler is - * expected to use gtk_entry_get_text() to retrieve the text of - * the entry and set @new_value to the new value. + * expected to use gtk_spin_button_get_text() to retrieve the text of + * the spinbutton and set @new_value to the new value. * * The default conversion uses g_strtod(). * |