[gnome-shell] st-theme-node: invalidate cached size when initializing paint state



commit fde01f0b71e595ac10290d6ad1cc341bba6917fc
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu Jul 11 13:28:06 2013 +0100

    st-theme-node: invalidate cached size when initializing paint state
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703997

 src/st/st-theme-node-drawing.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c
index 9e052a5..74751dc 100644
--- a/src/st/st-theme-node-drawing.c
+++ b/src/st/st-theme-node-drawing.c
@@ -2578,6 +2578,8 @@ st_theme_node_paint_state_init (StThemeNodePaintState *state)
 {
   int corner_id;
 
+  state->alloc_width = 0;
+  state->alloc_height = 0;
   state->node = NULL;
   state->box_shadow_material = COGL_INVALID_HANDLE;
   state->prerendered_texture = COGL_INVALID_HANDLE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]