[gtk2] format, remove gboolean, mem leak