diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index 1ac3e39b4..96df6f83d 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -1477,7 +1477,6 @@ static void st_theme_node_paint_borders (StThemeNode *node, const ClutterActorBox *box, guint8 paint_opacity) - { float width, height; int border_width[4]; diff --git a/src/st/st-theme-node-private.h b/src/st/st-theme-node-private.h index b6cd2a4dd..f31f1b8b5 100644 --- a/src/st/st-theme-node-private.h +++ b/src/st/st-theme-node-private.h @@ -45,7 +45,7 @@ struct _StThemeNode { int background_position_x; int background_position_y; - gboolean background_position_set : 1; + StBackgroundSize background_size; gint background_size_w; gint background_size_h; @@ -87,6 +87,8 @@ struct _StThemeNode { /* We hold onto these separately so we can destroy them on finalize */ CRDeclaration *inline_properties; + guint background_position_set : 1; + guint properties_computed : 1; guint geometry_computed : 1; guint background_computed : 1; diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 651de0240..331b5d8a2 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -1647,8 +1647,8 @@ _st_theme_node_ensure_background (StThemeNode *node) } else node->background_position_set = TRUE; - - result = get_length_from_term_int (node, decl->value->next, FALSE, &node->background_position_y); + + result = get_length_from_term_int (node, decl->value->next, FALSE, &node->background_position_y); if (result == VALUE_NOT_FOUND) {