match_mime_type


Description:

public unowned string? match_mime_type (ContentFormats second)

Finds the first mime type from this that is also contained in second.

If no matching mime type is found, null is returned.

Parameters:

this

the primary `GdkContentFormats` to intersect

second

the `GdkContentFormats` to intersect with

Returns:

The first common mime type or null if none




2022 vala-language.org