summaryrefslogtreecommitdiff
path: root/src/gui/gccontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gccontainer.cpp')
-rw-r--r--src/gui/gccontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gccontainer.cpp b/src/gui/gccontainer.cpp
index 3b574622..c22ddfc9 100644
--- a/src/gui/gccontainer.cpp
+++ b/src/gui/gccontainer.cpp
@@ -55,8 +55,8 @@ void GCContainer::add(gcn::Widget *w, int x, int y, bool delChild)
Container::add(w, x, y);
}
-void GCContainer::_announceDeath(gcn::Widget *w)
+void GCContainer::death(const gcn::Event &event)
{
- mDeathList.remove(w);
- Container::_announceDeath(w);
+ mDeathList.remove(event.getSource());
+ Container::death(event);
}