diff options
author | simonb <simonb> | 2006-04-22 16:38:20 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-22 16:38:20 (GMT) |
commit | 11190682277e3ac14d976738576f20df04e63dc5 (patch) | |
tree | ca69a43315e5b913fccd7d4d050b20411ee906d9 /src/Screen.cc | |
parent | 932eebe0ddbc611ccf72cbebebbde656ae2d08ec (diff) | |
download | fluxbox-11190682277e3ac14d976738576f20df04e63dc5.zip fluxbox-11190682277e3ac14d976738576f20df04e63dc5.tar.bz2 |
fix crash when toolbar disabled
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index d19d16f..a26c370 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1687,13 +1687,6 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1687 | 1687 | ||
1688 | menu.insert(tabmenu_label, tab_menu); | 1688 | menu.insert(tabmenu_label, tab_menu); |
1689 | 1689 | ||
1690 | #ifdef SLIT | ||
1691 | if (slit() != 0) { | ||
1692 | slit()->menu().setInternalMenu(); | ||
1693 | menu.insert("Slit", &slit()->menu()); | ||
1694 | } | ||
1695 | #endif // SLIT | ||
1696 | |||
1697 | Configmenus::iterator it = m_configmenu_list.begin(); | 1690 | Configmenus::iterator it = m_configmenu_list.begin(); |
1698 | Configmenus::iterator it_end = m_configmenu_list.end(); | 1691 | Configmenus::iterator it_end = m_configmenu_list.end(); |
1699 | for (; it != it_end; ++it) | 1692 | for (; it != it_end; ++it) |