st-theme-node: Clean up
Replace some faulty indentation, group some booleans to reduce a bit of memory usage https://bugzilla.gnome.org/show_bug.cgi?id=680801
This commit is contained in:
parent
114fb4219b
commit
3ffa1e35e8
@ -1477,7 +1477,6 @@ static void
|
|||||||
st_theme_node_paint_borders (StThemeNode *node,
|
st_theme_node_paint_borders (StThemeNode *node,
|
||||||
const ClutterActorBox *box,
|
const ClutterActorBox *box,
|
||||||
guint8 paint_opacity)
|
guint8 paint_opacity)
|
||||||
|
|
||||||
{
|
{
|
||||||
float width, height;
|
float width, height;
|
||||||
int border_width[4];
|
int border_width[4];
|
||||||
|
@ -45,7 +45,7 @@ struct _StThemeNode {
|
|||||||
|
|
||||||
int background_position_x;
|
int background_position_x;
|
||||||
int background_position_y;
|
int background_position_y;
|
||||||
gboolean background_position_set : 1;
|
|
||||||
StBackgroundSize background_size;
|
StBackgroundSize background_size;
|
||||||
gint background_size_w;
|
gint background_size_w;
|
||||||
gint background_size_h;
|
gint background_size_h;
|
||||||
@ -87,6 +87,8 @@ struct _StThemeNode {
|
|||||||
/* We hold onto these separately so we can destroy them on finalize */
|
/* We hold onto these separately so we can destroy them on finalize */
|
||||||
CRDeclaration *inline_properties;
|
CRDeclaration *inline_properties;
|
||||||
|
|
||||||
|
guint background_position_set : 1;
|
||||||
|
|
||||||
guint properties_computed : 1;
|
guint properties_computed : 1;
|
||||||
guint geometry_computed : 1;
|
guint geometry_computed : 1;
|
||||||
guint background_computed : 1;
|
guint background_computed : 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user