summaryrefslogtreecommitdiff
path: root/src/gui/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r--src/gui/connection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index f7fdaca6..a29008c3 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -35,7 +35,9 @@
namespace {
struct ConnectionActionListener : public gcn::ActionListener
{
- void action(const std::string &eventId, gcn::Widget *widget) { state = EXIT_STATE; }
+ void action(const std::string &eventId, gcn::Widget *widget) {
+ state = STATE_EXIT;
+ }
} listener;
}