X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkcssvalue.c;h=6d77cf80c94fe299ddb11897e658de4991fab853;hb=a731cd1ef62b8e460373e660f6f77fce6d4d9ca4;hp=5d5d39227fdaff5ff457f8d91c11f180c4d44c9b;hpb=6dc3113edc484d9ac1bb1ca248177e279658d31e;p=~andy%2Fgtk diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c index 5d5d39227..6d77cf80c 100644 --- a/gtk/gtkcssvalue.c +++ b/gtk/gtkcssvalue.c @@ -17,8 +17,12 @@ #include "config.h" +#include "gtkprivate.h" #include "gtkcssvalueprivate.h" +#include "gtkcsscomputedvaluesprivate.h" +#include "gtkstyleproviderprivate.h" + struct _GtkCssValue { GTK_CSS_VALUE_BASE }; @@ -42,7 +46,7 @@ _gtk_css_value_alloc (const GtkCssValueClass *klass, GtkCssValue * _gtk_css_value_ref (GtkCssValue *value) { - g_return_val_if_fail (value != NULL, NULL); + gtk_internal_return_val_if_fail (value != NULL, NULL); g_atomic_int_add (&value->ref_count, 1); @@ -65,7 +69,12 @@ _gtk_css_value_unref (GtkCssValue *value) * _gtk_css_value_compute: * @value: the value to compute from * @property_id: the ID of the property to compute - * @context: the context to use for resolving + * @provider: Style provider for looking up extra information + * @values: values to compute for + * @parent_values: parent values to use for inherited values + * @dependencies: (out) (allow-none): Set to the dependencies of the + * computed values that indicate when this value needs to be + * recomputed and how. * * Converts the specified @value into the computed value for the CSS * property given by @property_id using the information in @context. @@ -73,25 +82,39 @@ _gtk_css_value_unref (GtkCssValue *value) *