wmmenu: Replace deprecated DAInitialize() from libdockapp.

Patch from Gentoo [1].

[1] http://mirrors.telepoint.bg/gentoo-portage/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch
This commit is contained in:
Doug Torrance 2015-01-24 12:05:38 -06:00 committed by Carlos R. Mafra
parent 906ed7723c
commit a29eaa2fb2

View file

@ -18,7 +18,8 @@ extern int main (int argc, char ** argv)
DAParseArguments (Options_Argc, Options_Argv, NULL, 0,
"wmmenu", VERSION) ;
DAInitialize (NULL, (char*)Menu_GetTitle (), 48, 48, argc, argv) ;
DAOpenDisplay (NULL, argc, argv) ;
DACreateIcon((char*)Menu_GetTitle (), 48, 48, argc, argv);
Pixmaps_LoadMenu () ;
Pixmaps_LoadTile () ;