diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-10 10:31:06 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-15 13:24:40 -0400 |
commit | ed12be7e81808b39ad7c90a6a2147ada1c28ef0c (patch) | |
tree | 81476f61df480d77eca478eabf12095599d8fd42 /gtk/gtkthemingbackground.c | |
parent | f8e6e272a7b724079e3a660e009dfb20a30d5c4b (diff) | |
download | gtk+-ed12be7e81808b39ad7c90a6a2147ada1c28ef0c.tar.gz |
styleproperty: make background-repeat an array property
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 4c7e44bbfc..1bedb784d6 100644 --- a/gtk/gtkthemingbackground.c +++ b/gtk/gtkthemingbackground.c @@ -135,7 +135,7 @@ _gtk_theming_background_paint (GtkThemingBackground *bg, GtkCssRepeatStyle hrepeat, vrepeat; pos = _gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_POSITION); - repeat = _gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_REPEAT); + repeat = _gtk_css_array_value_get_nth (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BACKGROUND_REPEAT), 0); hrepeat = _gtk_css_background_repeat_value_get_x (repeat); vrepeat = _gtk_css_background_repeat_value_get_y (repeat); width = bg->image_rect.width; |