summaryrefslogtreecommitdiff
path: root/src/events/keyevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/keyevent.h')
-rw-r--r--src/events/keyevent.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index 6ca3d87d8..360d229d7 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -69,10 +69,7 @@
#include <string>
-namespace gcn
-{
- class Widget;
-}
+class Widget;
/**
* Represents a key event.
@@ -102,7 +99,7 @@ class KeyEvent: public InputGuiEvent
* false otherwise.
* @param key The key of the event.
*/
- KeyEvent(gcn::Widget *const source,
+ KeyEvent(Widget *const source,
const bool shiftPressed,
const bool controlPressed,
const bool altPressed,