summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-30 14:33:28 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-07-30 14:33:28 +0000
commitaff167beefadc32add4b44626cc2f1cbef800c7b (patch)
tree43796105cc107ec55742e88562e064d8031d3b23 /src/gui/updatewindow.cpp
parent18b73fdadd715d356416a95c31a25b3293fa2596 (diff)
downloadmana-client-aff167beefadc32add4b44626cc2f1cbef800c7b.tar.gz
mana-client-aff167beefadc32add4b44626cc2f1cbef800c7b.tar.bz2
mana-client-aff167beefadc32add4b44626cc2f1cbef800c7b.tar.xz
mana-client-aff167beefadc32add4b44626cc2f1cbef800c7b.zip
Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0
branch).
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index 3f5fe7bb..9188b6de 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -107,7 +107,7 @@ UpdaterWindow::~UpdaterWindow()
}
// Remove possibly leftover temporary download
- remove((mBasePath + "/updates/download.temp").c_str());
+ ::remove((mBasePath + "/updates/download.temp").c_str());
delete[] mCurlError;
}
@@ -129,7 +129,7 @@ void UpdaterWindow::enable()
mPlayButton->requestFocus();
}
-void UpdaterWindow::action(const std::string& eventId)
+void UpdaterWindow::action(const std::string &eventId, gcn::Widget *widget)
{
if (eventId == "cancel")
{
@@ -299,7 +299,7 @@ int UpdaterWindow::downloadThread(void *ptr)
// Any existing file with this name is deleted first, otherwise the
// rename will fail on Windows.
- remove(newName.c_str());
+ ::remove(newName.c_str());
rename(outFilename.c_str(), newName.c_str());
}
}