Commit e297090f authored by Matthias Clasen's avatar Matthias Clasen

Fix the value type

svn path=/trunk/; revision=18816
parent 3c4f079d
2007-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscalebutton.c: Use the right value type when setting
the value. (#476688, Christian Persch)
* configure.in: Bump version to 2.12.0
* NEWS: Updates
......
......@@ -85,6 +85,7 @@ Overview of Changes from GTK+ 2.11.6 to 2.12.0
436576 GtkFileChooserButton title from supplied dialog
474897 rendering problem with latest gtk+
475400 Fix a typo in gtkentry.c
476688 scale button uses wrong value type in getter
* Updated translations
- Bulgarian (bg)
......
......@@ -432,7 +432,7 @@ gtk_scale_button_get_property (GObject *object,
switch (prop_id)
{
case PROP_VALUE:
g_value_set_float (value, gtk_scale_button_get_value (button));
g_value_set_double (value, gtk_scale_button_get_value (button));
break;
case PROP_SIZE:
g_value_set_enum (value, priv->size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment