st-theme-node: fix obvious size comparison error
https://bugzilla.gnome.org/show_bug.cgi?id=703997
This commit is contained in:
parent
35b4907e52
commit
1c04ae3216
@ -2347,7 +2347,7 @@ st_theme_node_needs_new_box_shadow_for_size (StThemeNodePaintState *state,
|
|||||||
|
|
||||||
/* The allocation hasn't changed, no need to recompute a new
|
/* The allocation hasn't changed, no need to recompute a new
|
||||||
box-shadow. */
|
box-shadow. */
|
||||||
if (state->alloc_width == width ||
|
if (state->alloc_width == width &&
|
||||||
state->alloc_height == height)
|
state->alloc_height == height)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user