correctly destory enum_group, gtk:deprecated api