st-theme-node: invalidate cached size when initializing paint state

https://bugzilla.gnome.org/show_bug.cgi?id=703997
This commit is contained in:
Lionel Landwerlin 2013-07-11 13:28:06 +01:00
parent 1c04ae3216
commit fde01f0b71

View File

@ -2578,6 +2578,8 @@ st_theme_node_paint_state_init (StThemeNodePaintState *state)
{ {
int corner_id; int corner_id;
state->alloc_width = 0;
state->alloc_height = 0;
state->node = NULL; state->node = NULL;
state->box_shadow_material = COGL_INVALID_HANDLE; state->box_shadow_material = COGL_INVALID_HANDLE;
state->prerendered_texture = COGL_INVALID_HANDLE; state->prerendered_texture = COGL_INVALID_HANDLE;