Fix handling of GtkCellRendererProgress::inverted

We were setting the wrong field.
https://bugzilla.redhat.com/show_bug.cgi?id=747761
This commit is contained in:
Matthias Clasen 2011-10-24 13:50:00 -04:00
parent ccdc3c1802
commit cd91ab9761

View File

@ -355,7 +355,7 @@ gtk_cell_renderer_progress_set_property (GObject *object,
priv->orientation = g_value_get_enum (value); priv->orientation = g_value_get_enum (value);
break; break;
case PROP_INVERTED: case PROP_INVERTED:
priv->orientation = g_value_get_boolean (value); priv->inverted = g_value_get_boolean (value);
break; break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);