summaryrefslogtreecommitdiff
path: root/src/gui/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popup.cpp')
-rw-r--r--src/gui/popup.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/popup.cpp b/src/gui/popup.cpp
index a27b1d90..f4c7d4a3 100644
--- a/src/gui/popup.cpp
+++ b/src/gui/popup.cpp
@@ -22,19 +22,16 @@
#include <guichan/exception.hpp>
-#include "gui.h"
#include "skin.h"
#include "popup.h"
#include "windowcontainer.h"
-#include "../configlistener.h"
#include "../configuration.h"
+#include "../graphics.h"
#include "../log.h"
#include "../resources/image.h"
-int Popup::instances = 0;
-
Popup::Popup(const std::string& name, const std::string& skin):
mPopupName(name),
mDefaultSkinPath(skin),
@@ -50,8 +47,6 @@ Popup::Popup(const std::string& name, const std::string& skin):
setPadding(3);
- instances++;
-
// Loads the skin
mSkin = skinLoader->load(skin, mDefaultSkinPath);
@@ -75,8 +70,6 @@ Popup::~Popup()
delete(w);
}
- instances--;
-
mSkin->instances--;
}