summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-02-03 13:41:19 (GMT)
committerfluxgen <fluxgen>2003-02-03 13:41:19 (GMT)
commitb8cc8770e8b36fdc054575cc921cdcfab56c2eaf (patch)
tree180bd2184584ac096d6674ed8c0a739d2a53aa60
parent7865dd73c1d7a80818225d89e5f9dcafd6cf869f (diff)
downloadfluxbox_lack-b8cc8770e8b36fdc054575cc921cdcfab56c2eaf.zip
fluxbox_lack-b8cc8770e8b36fdc054575cc921cdcfab56c2eaf.tar.bz2
changed name on windowID to window
-rw-r--r--src/FbTk/Menu.cc4
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):
140Menu::~Menu() { 140Menu::~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()) {