diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-11 18:34:09 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-11 18:34:09 -0600 |
commit | daf0d9e183456b30ffebfddfbcb2da2946c32e1d (patch) | |
tree | 7223166d525234f81d045f402ebfeca37dbc3d5c /src/gui | |
parent | 951fc647b291b38a3e4652b326ed4c4867c7ec0b (diff) | |
download | mana-client-daf0d9e183456b30ffebfddfbcb2da2946c32e1d.tar.gz mana-client-daf0d9e183456b30ffebfddfbcb2da2946c32e1d.tar.bz2 mana-client-daf0d9e183456b30ffebfddfbcb2da2946c32e1d.tar.xz mana-client-daf0d9e183456b30ffebfddfbcb2da2946c32e1d.zip |
Removed widget listeners from the popup class. Tests have shown that at
least for popup type functionality, this isn't needed.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popup.cpp | 2 | ||||
-rw-r--r-- | src/gui/popup.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popup.cpp b/src/gui/popup.cpp index 906f7a2e..4cf6bbf0 100644 --- a/src/gui/popup.cpp +++ b/src/gui/popup.cpp @@ -86,8 +86,6 @@ Popup::Popup(const std::string& name, Window *parent, // Popups are invisible by default setVisible(false); - - addWidgetListener(this); } Popup::~Popup() diff --git a/src/gui/popup.h b/src/gui/popup.h index 0f7eebbf..bfe8d7e9 100644 --- a/src/gui/popup.h +++ b/src/gui/popup.h @@ -23,8 +23,6 @@ #ifndef POPUP_H #define POPUP_H -#include <guichan/widgetlistener.hpp> - #include <guichan/widgets/container.hpp> #include "../graphics.h" @@ -42,7 +40,7 @@ class WindowContainer; * * \ingroup GUI */ -class Popup : public gcn::Container, gcn::WidgetListener +class Popup : public gcn::Container { public: friend class PopupConfigListener; |