summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperties.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-12-31 19:45:17 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:52 +0100
commit544d210a614851528159a922fc3120e03332e486 (patch)
treef570f48644af3dbda34de027e2aef1c2a8abfeaf /gtk/gtkstyleproperties.c
parent0a3ac5efbced071e080af10e03748eb53e747807 (diff)
downloadgtk+-544d210a614851528159a922fc3120e03332e486.tar.gz
css: Move a bunch of functions
... from GtkStyleProperty to GtkCssStyleProperty.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r--gtk/gtkstyleproperties.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index cb8a1b42b1..e1913a6dd3 100644
--- a/gtk/gtkstyleproperties.c
+++ b/gtk/gtkstyleproperties.c
@@ -327,12 +327,12 @@ gtk_style_properties_provider_lookup (GtkStyleProviderPrivate *provider,
while (g_hash_table_iter_next (&iter, &key, &value))
{
- GtkStyleProperty *prop = key;
+ GtkCssStyleProperty *prop = key;
PropertyData *data = value;
const GValue *value;
guint id;
- id = _gtk_style_property_get_id (prop);
+ id = _gtk_css_style_property_get_id (prop);
if (!_gtk_css_lookup_is_missing (lookup, id))
continue;
@@ -521,10 +521,10 @@ gtk_style_properties_lookup_color (GtkStyleProperties *props,
}
void
-_gtk_style_properties_set_property_by_property (GtkStyleProperties *props,
- GtkStyleProperty *style_prop,
- GtkStateFlags state,
- const GValue *value)
+_gtk_style_properties_set_property_by_property (GtkStyleProperties *props,
+ GtkCssStyleProperty *style_prop,
+ GtkStateFlags state,
+ const GValue *value)
{
GtkStylePropertiesPrivate *priv;
PropertyData *prop;
@@ -552,8 +552,8 @@ _gtk_style_properties_set_property_by_property (GtkStyleProperties *props,
}
g_value_copy (value, val);
- if (_gtk_style_property_get_value_type (style_prop) == G_VALUE_TYPE (value))
- g_param_value_validate (style_prop->pspec, val);
+ if (_gtk_style_property_get_value_type (GTK_STYLE_PROPERTY (style_prop)) == G_VALUE_TYPE (value))
+ g_param_value_validate (GTK_STYLE_PROPERTY (style_prop)->pspec, val);
}
/**
@@ -680,9 +680,9 @@ gtk_style_properties_set (GtkStyleProperties *props,
}
const GValue *
-_gtk_style_properties_peek_property (GtkStyleProperties *props,
- GtkStyleProperty *property,
- GtkStateFlags state)
+_gtk_style_properties_peek_property (GtkStyleProperties *props,
+ GtkCssStyleProperty *property,
+ GtkStateFlags state)
{
GtkStylePropertiesPrivate *priv;
PropertyData *prop;