diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-10 11:18:29 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-15 13:24:40 -0400 |
commit | 580b585fc92830b47edeedd33024d07a8e33d6c0 (patch) | |
tree | ea7e37cf85b1a857de359f9ad38a090b95773007 /gtk/gtkthemingbackground.c | |
parent | f65970b521df47a0df55f42e09abdfb4bf65c12f (diff) | |
download | gtk+-580b585fc92830b47edeedd33024d07a8e33d6c0.tar.gz |
styleproperty: make background-image an array value
This also requires having the GtkCssArrayValue parse func forward the
base GFile from the style property parse implementation.
Diffstat (limited to 'gtk/gtkthemingbackground.c')
-rw-r--r-- | gtk/gtkthemingbackground.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkthemingbackground.c b/gtk/gtkthemingbackground.c index 4bc5d5e2f0..ead7518804 100644 --- a/gtk/gtkthemingbackground.c +++ b/gtk/gtkthemingbackground.c @@ -292,7 +292,7 @@ _gtk_theming_background_init_context (GtkThemingBackground *bg) _gtk_theming_background_apply_clip (bg); _gtk_theming_background_apply_origin (bg); - bg->image = _gtk_css_image_value_get_image (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_IMAGE)); + bg->image = _gtk_css_image_value_get_image (_gtk_css_array_value_get_nth (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_IMAGE), 0)); } void |