summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererprogress.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-24 13:50:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-24 13:50:00 -0400
commitcd91ab9761b3de45ab55b622154a71ad9fd5eca8 (patch)
treed2e0b63611a570b9757637dc20241ff03f7a11a5 /gtk/gtkcellrendererprogress.c
parentccdc3c18028925565f252e7259aefe2b27e3ec2e (diff)
downloadgtk+-cd91ab9761b3de45ab55b622154a71ad9fd5eca8.tar.gz
Fix handling of GtkCellRendererProgress::inverted
We were setting the wrong field. https://bugzilla.redhat.com/show_bug.cgi?id=747761
Diffstat (limited to 'gtk/gtkcellrendererprogress.c')
-rw-r--r--gtk/gtkcellrendererprogress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c
index caa26d16ba..cb72adb8b4 100644
--- a/gtk/gtkcellrendererprogress.c
+++ b/gtk/gtkcellrendererprogress.c
@@ -355,7 +355,7 @@ gtk_cell_renderer_progress_set_property (GObject *object,
priv->orientation = g_value_get_enum (value);
break;
case PROP_INVERTED:
- priv->orientation = g_value_get_boolean (value);
+ priv->inverted = g_value_get_boolean (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);