summaryrefslogtreecommitdiff
path: root/gtk/gtkmenutoolbutton.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-21 12:52:49 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-21 12:57:27 +0900
commitca251cf1d45ed6be71065d058313b9b22d36f10d (patch)
tree2f7e29336c5d101ae327ec4ec4219f6e6686e6d2 /gtk/gtkmenutoolbutton.c
parent6ba904486ce6f3c2e6f8d95288c9b66ce29f4ce3 (diff)
downloadgtk+-ca251cf1d45ed6be71065d058313b9b22d36f10d.tar.gz
Reduced overall SizeRequestCache size
This patch changes the 'age' counting previous approach taken verbatim from clutter and changes it for a counter of validated caches and an index to the last cached value which we use to round-robin through the cache if ever a widget is requested for more than 3 contextual sizes (cache is reduced by 3 * sizeof (int) per widget private data).
Diffstat (limited to 'gtk/gtkmenutoolbutton.c')
0 files changed, 0 insertions, 0 deletions