lcl: clean up

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46957 4005530d-fff6-0310-9dd1-cebe43e6787f
lcl: gtk2: fixed close modal on kwin, bug 27070

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46958 4005530d-fff6-0310-9dd1-cebe43e6787f