Remove obsolete enum type files
Use new G_DEFINE_TYPE_WITH_PRIVATE macro