Use proper type gmenu* instead of void*
Even more fixes!