libgnt/libgnt

Make all destroy functions multi-call safe.

2020-09-27, Elliott Sales de Andrade
ffb6069167a2
Make all destroy functions multi-call safe.

Also, fix an incorrect name for a dispose vfunc.

Testing Done:
Compile only, and the test from LIBGNT-11.

Reviewed at https://reviews.imfreedom.org/r/141/
foreach prog : ['combo', 'focus', 'tv', 'multiwin', 'keys', 'menu', 'parse']
executable(prog,
prog + '.c',
c_args : '-DSTANDALONE',
dependencies : [libgnt_dep, gobject, gmodule])
endforeach
shared_library('wm',
'wm.c',
name_prefix : '',
dependencies : [libgnt_dep, gobject, gmodule])