[gtk+/wip/cssdep: 5/21] cssstyleproperty: Call _compute() in the compute function



commit 7af8e097eece32e6506bb884cb7d7703874965d4
Author: Benjamin Otte <otte redhat com>
Date:   Mon Jul 16 13:47:04 2012 +0200

    cssstyleproperty: Call _compute() in the compute function
    
    ... instead pof just reffing the value.

 gtk/gtkcssstyleproperty.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c
index cc08e18..8607af5 100644
--- a/gtk/gtkcssstyleproperty.c
+++ b/gtk/gtkcssstyleproperty.c
@@ -239,7 +239,7 @@ gtk_css_style_property_real_compute_value (GtkCssStyleProperty *property,
                                            GtkStyleContext     *context,
                                            GtkCssValue         *specified)
 {
-  return _gtk_css_value_ref (specified);
+  return _gtk_css_value_compute (specified, _gtk_css_style_property_get_id (property), context);
 }
 
 static void



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