diff options
author | fluxgen <fluxgen> | 2003-02-03 13:41:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-03 13:41:19 (GMT) |
commit | b8cc8770e8b36fdc054575cc921cdcfab56c2eaf (patch) | |
tree | 180bd2184584ac096d6674ed8c0a739d2a53aa60 /src/FbTk | |
parent | 7865dd73c1d7a80818225d89e5f9dcafd6cf869f (diff) | |
download | fluxbox-b8cc8770e8b36fdc054575cc921cdcfab56c2eaf.zip fluxbox-b8cc8770e8b36fdc054575cc921cdcfab56c2eaf.tar.bz2 |
changed name on windowID to window
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 29d60d4..b727588 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Menu.cc,v 1.7 2003/01/24 12:19:15 fluxgen Exp $ | 25 | // $Id: Menu.cc,v 1.8 2003/02/03 13:41:19 fluxgen Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -140,7 +140,7 @@ Menu::Menu(MenuTheme &tm, int screen_num, ImageControl &imgctrl): | |||
140 | Menu::~Menu() { | 140 | Menu::~Menu() { |
141 | menu.window.hide(); | 141 | menu.window.hide(); |
142 | 142 | ||
143 | if (shown && shown->windowID() == windowID()) | 143 | if (shown && shown->window() == window()) |
144 | shown = (Menu *) 0; | 144 | shown = (Menu *) 0; |
145 | 145 | ||
146 | while (!menuitems.empty()) { | 146 | while (!menuitems.empty()) { |