[gtk+/composite-templates] cssstyleproperty: Call _compute() in the	compute function
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/composite-templates] cssstyleproperty: Call _compute() in the	compute function
- Date: Fri, 14 Sep 2012 21:20:21 +0000 (UTC)
commit b63aceb0d89c7400ab58a3090643c516ea6d0b47
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]