summaryrefslogtreecommitdiff
path: root/src/gui/widgets/windowcontainer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-13 23:41:48 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-13 23:41:48 +0200
commit0eddf44c73dc3a0e9fe20106e91b648197898b3b (patch)
tree55dae138b8b63938b5392adf2b57db822fb367a3 /src/gui/widgets/windowcontainer.h
parent28bc8c0edb549cdbbe0832c4202630a039f738b1 (diff)
downloadmana-0eddf44c73dc3a0e9fe20106e91b648197898b3b.tar.gz
mana-0eddf44c73dc3a0e9fe20106e91b648197898b3b.tar.bz2
mana-0eddf44c73dc3a0e9fe20106e91b648197898b3b.tar.xz
mana-0eddf44c73dc3a0e9fe20106e91b648197898b3b.zip
Some cleanup of the SkinLoader
Mainly stopped it from parsing the skin XML files over and over again, but also fixed Skin leaking sticky button images and made some optimizations. The Skin class still has an 'instances' member which could be used for cleanup in theory, but is unused at the moment.
Diffstat (limited to 'src/gui/widgets/windowcontainer.h')
-rw-r--r--src/gui/widgets/windowcontainer.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h
index a2c285cb..a1a4b14c 100644
--- a/src/gui/widgets/windowcontainer.h
+++ b/src/gui/widgets/windowcontainer.h
@@ -45,11 +45,6 @@ class WindowContainer : public Container
*/
void scheduleDelete(gcn::Widget *widget);
- /**
- * Get the number of widget instances
- */
- int getNumberOfInstances() { return mDeathList.size(); }
-
private:
/**
* List of widgets that are scheduled to be deleted.