summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 15:34:49 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 15:34:49 +0000
commitb65aae46de898d71db36f5de9e4c293cd3b05c40 (patch)
tree1426167d9924a05ff0161b5e6e5f44e02380bc92
parentc63776ba5486170404155475bb8f232b92159179 (diff)
downloadmana-b65aae46de898d71db36f5de9e4c293cd3b05c40.tar.gz
mana-b65aae46de898d71db36f5de9e4c293cd3b05c40.tar.bz2
mana-b65aae46de898d71db36f5de9e4c293cd3b05c40.tar.xz
mana-b65aae46de898d71db36f5de9e4c293cd3b05c40.zip
Small cleanups.
-rw-r--r--ChangeLog4
-rw-r--r--src/gui/updatewindow.cpp3
-rw-r--r--src/gui/updatewindow.h7
3 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 6774963f..cd5fb93c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-27 Björn Steinbrink <B.Steinbrink@gmx.de>
+
+ * src/gui/updatewindow.cpp, src/gui/updatewindow.h: Small cleanups.
+
2005-08-25 Ferreira Yohann <bertram@cegetel.net>
* src/gui/buy.h, src/gui/buy.cpp, src/gui/sell.h, src/gui/sell.cpp,
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index c2220ada..0ec591b1 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -37,7 +37,6 @@
#include "browserbox.h"
#include "button.h"
#include "gui.h"
-#include "ok_dialog.h"
#include "progressbar.h"
#include "scrollarea.h"
@@ -46,8 +45,6 @@
#include "../log.h"
#include "../main.h"
-#include "../resources/resourcemanager.h"
-
extern Graphics *graphics;
UpdaterWindow::UpdaterWindow():
diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h
index 95c4f9d6..c062b484 100644
--- a/src/gui/updatewindow.h
+++ b/src/gui/updatewindow.h
@@ -32,7 +32,8 @@ class BrowserBox;
class Button;
class ProgressBar;
class ScrollArea;
-class VBox;
+class SDL_Thread;
+class SDL_mutex;
/**
* Update progress window GUI
@@ -116,12 +117,12 @@ class UpdaterWindow : public Window, public gcn::ActionListener
/**
* A thread that use libcurl to download updates.
*/
- class SDL_Thread *mThread;
+ SDL_Thread *mThread;
/**
* A mutex to protect shared data between the threads.
*/
- class SDL_mutex *mMutex;
+ SDL_mutex *mMutex;
/**
* Status of the current download.