Method

GdkContentFormatsmatch_mime_type

Declaration [src]

const char*
gdk_content_formats_match_mime_type (
  const GdkContentFormats* first,
  const GdkContentFormats* second
)

Description [src]

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

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

Parameters

second GdkContentFormats
 

The GdkContentFormats to intersect with.

 The data is owned by the caller of the function.

Return value

Returns: const char*
 

The first common mime type or NULL if none.

 The data is owned by the instance.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.