[gtk+] Fix handling of GtkCellRendererProgress::inverted



commit cd91ab9761b3de45ab55b622154a71ad9fd5eca8
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 24 13:50:00 2011 -0400

    Fix handling of GtkCellRendererProgress::inverted
    
    We were setting the wrong field.
    https://bugzilla.redhat.com/show_bug.cgi?id=747761

 gtk/gtkcellrendererprogress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c
index caa26d1..cb72adb 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]