diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-24 13:26:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-24 13:31:01 +0300 |
commit | bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e (patch) | |
tree | f5bd340d41e7d0d7dda89c2c614ad1e5ff44fbc1 /src/guichan/widget.cpp | |
parent | 64ed19bc03e994b54abc39532c72ed6e374948b9 (diff) | |
download | manaverse-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.gz manaverse-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.bz2 manaverse-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.xz manaverse-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.zip |
Remove unused guichan classes.
Diffstat (limited to 'src/guichan/widget.cpp')
-rw-r--r-- | src/guichan/widget.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp index 8fa7cf65a..95e026d98 100644 --- a/src/guichan/widget.cpp +++ b/src/guichan/widget.cpp @@ -52,7 +52,6 @@ #include "guichan/actionlistener.hpp" #include "guichan/basiccontainer.hpp" #include "guichan/deathlistener.hpp" -#include "guichan/defaultfont.hpp" #include "guichan/event.hpp" #include "guichan/exception.hpp" #include "guichan/focushandler.hpp" @@ -68,7 +67,6 @@ namespace gcn { Font* Widget::mGlobalFont = nullptr; - DefaultFont Widget::mDefaultFont; std::list<Widget*> Widget::mWidgets; std::set<Widget*> Widget::mWidgetsSet; @@ -445,13 +443,7 @@ namespace gcn Font* Widget::getFont() const { if (!mCurrentFont) - { - if (!mGlobalFont) - return &mDefaultFont; - return mGlobalFont; - } - return mCurrentFont; } |