diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-04-02 01:23:51 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-06-12 15:31:15 +0100 |
commit | ed5f7b18bd5c92269300e63706adae77a3bbe966 (patch) | |
tree | 1218b63c9bc6eae66c0c7b97deffe19f75f95f89 /poezio/windows/base_wins.py | |
parent | b08688c7014d9e68ac26fe604dc5a48372c67167 (diff) | |
download | poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.gz poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.bz2 poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.xz poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.zip |
Remove the global Win._win_core, instead pass core to the two *GlobalInfoBar.
Diffstat (limited to 'poezio/windows/base_wins.py')
-rw-r--r-- | poezio/windows/base_wins.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index a4fad3f4..1a578350 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -34,7 +34,6 @@ class DummyWin(object): return False class Win(object): - _win_core = None _tab_win = None def __init__(self): self._win = None @@ -149,10 +148,3 @@ class Win(object): self.addnstr(' '*size, size, to_curses_attr(color)) else: self.addnstr(' '*size, size) - - @property - def core(self): - if not Win._win_core: - Win._win_core = singleton.Singleton(core.Core) - return Win._win_core - |