[gtk2] warning and bugs
[gtk2] more warnings and bugs