mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix the value type
svn path=/trunk/; revision=18816
This commit is contained in:
parent
3c4f079d46
commit
e297090fa7
@ -1,5 +1,8 @@
|
||||
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
|
||||
|
1
NEWS
1
NEWS
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user