take_mime_type_field


Description:

[ Version ( since = "3.24" ) ]
public void take_mime_type_field (owned ContentType? mime_type)

Sets mime-type filed to be mime_type and consumes it, aka unlike set_mime_type_field, this doesn't add its own reference to mime_type.

It suffers from the same flaws as set_mime_type.

Parameters:

this

a DataWrapper

mime_type

a ContentType




2022 vala-language.org