workable gtk ver 3 codes, except align.c