forked from AuroraMiddleware/gtk
don't call gtk_orientable_set_orientation() because that calls
2009-03-06 Michael Natterer <mitch@gimp.org> * gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call gtk_orientable_set_orientation() because that calls g_object_set() again -> infinite recursion. Call gtk_scale_button_set_orientation() instead. svn path=/trunk/; revision=22478
This commit is contained in:
parent
66ffab9992
commit
06759f3674
@ -1,3 +1,10 @@
|
||||
2009-03-06 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call
|
||||
gtk_orientable_set_orientation() because that calls g_object_set()
|
||||
again -> infinite recursion. Call gtk_scale_button_set_orientation()
|
||||
instead.
|
||||
|
||||
2009-03-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -434,7 +434,7 @@ gtk_scale_button_set_property (GObject *object,
|
||||
switch (prop_id)
|
||||
{
|
||||
case PROP_ORIENTATION:
|
||||
gtk_orientable_set_orientation (GTK_ORIENTABLE (button), g_value_get_enum (value));
|
||||
gtk_scale_button_set_orientation (button, g_value_get_enum (value));
|
||||
break;
|
||||
case PROP_VALUE:
|
||||
gtk_scale_button_set_value (button, g_value_get_double (value));
|
||||
|
Loading…
Reference in New Issue
Block a user