st-theme-node: fix obvious size comparison error

https://bugzilla.gnome.org/show_bug.cgi?id=703997
This commit is contained in:
Lionel Landwerlin 2013-07-10 16:07:22 +01:00
parent 35b4907e52
commit 1c04ae3216

View File

@ -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
box-shadow. */
if (state->alloc_width == width ||
if (state->alloc_width == width &&
state->alloc_height == height)
return FALSE;