wmaker: removed dead code related to 'GLOBAL_SUBMENU_FILE'
commitedc12fad9f755944648d98dcac3ee3b98eaba7f2
authorRodolfo García Peñas (kix) <kix@kix.es>
Fri, 8 May 2015 11:19:08 +0000 (8 13:19 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 8 May 2015 17:53:30 +0000 (8 18:53 +0100)
tree957ac6600237ed9ee70d745be00553da14f2bcf5
parentaf2aba6f954c1f5c62badac3598eb2fbcdbe9506
wmaker: removed dead code related to 'GLOBAL_SUBMENU_FILE'

There was the possibility to include a global sub-menu to the root menu
using a dedicated file, but this does not look like it is really useful as
this root menu is already defined by a user file, and the root menu is
already specific enough that it does not need anything more 'global'.

Furthermore, the variable enabling this feature (GLOBAL_SUBMENU_FILE) is
not defined anywhere (neither from "configure", nor in "wconfig.h", ...) and
is also not documented at all.

Considering it was introduced a very long time ago (1999!) and was not
touched anymore, this patch removes the dead code associated with it.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/rootmenu.c