]> Pileus Git - ~andy/gtk/commitdiff
cssstyleproperty: Call _compute() in the compute function
authorBenjamin Otte <otte@redhat.com>
Mon, 16 Jul 2012 11:47:04 +0000 (13:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Aug 2012 13:40:57 +0000 (15:40 +0200)
... instead pof just reffing the value.

gtk/gtkcssstyleproperty.c

index cc08e188f82d01479f8bfb9dc90dd1fba1021ff4..8607af52a016e98c7fcf555c70128a166909c78b 100644 (file)
@@ -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