Lionel Landwerlin a18fb27d0f st-theme-node: let paint states take weak ref on theme nodes
When the St theme is changed, the StThemeContext unrefs all the theme
nodes cached in it's internal hash table, then emits a signal to
notify all theme nodes that the current theme has changed.

The problem is that the first StWidget to catch a theme changed signal
will trigger a "style-changed" signal catched by its children first.
So the theme changed signal can't be processed properly to cleanup
StThemeNodePaintState before recomputing the theme.

This patch adds a weak ref to the StThemeNode in the
StThemeNodePaintState to ensure paint states are properly cleaned up
when the associated StThemeNode is freed.

https://bugzilla.gnome.org/show_bug.cgi?id=703859
2013-07-10 20:27:38 +01:00
..
2013-07-01 13:20:02 -04:00
2012-01-25 19:03:13 -05:00
2013-06-07 19:52:10 +02:00
2012-12-05 23:35:35 +01:00
2012-01-25 19:03:13 -05:00
2013-05-13 18:38:35 -04:00
2011-11-07 15:24:59 -05:00
2012-02-28 08:14:06 -05:00
2010-02-22 19:37:49 -05:00
2012-09-10 21:23:25 +02:00
2012-02-28 08:14:06 -05:00