gtk+ r22478 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22478 - in trunk: . gtk
- Date: Fri, 6 Mar 2009 14:06:46 +0000 (UTC)
Author: mitch
Date: Fri Mar 6 14:06:46 2009
New Revision: 22478
URL: http://svn.gnome.org/viewvc/gtk+?rev=22478&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gtk/gtkscalebutton.c
Modified: trunk/gtk/gtkscalebutton.c
==============================================================================
--- trunk/gtk/gtkscalebutton.c (original)
+++ trunk/gtk/gtkscalebutton.c Fri Mar 6 14:06:46 2009
@@ -434,7 +434,7 @@
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]