get_mime_type


Description:

[ Version ( since = "3.2" ) ]
public string get_mime_type ()

Get the mime type of the monitored file.

This procedure returns the mime type of the file which is being monitored by this.

Note that this will be the real mime type, corresponding to our format support, as returned by the [class@Gimp.LoadProcedure] which actually performs the external image file import.

This function may also return null in case of error (for instance if the external file doesn't exist anymore).

Parameters:

this

The link layer.

Returns:

The mime type of the monitored file. The returned value must be freed with g_free.