Finds the field with the given name, and returns the type of the value it contains.
If the field is not found, G_TYPE_INVALID is returned.
a Structure
the name of the field
the Value of the field