Virtual Method

NautilusFileInfois_mime_type

Declaration [src]

gboolean
is_mime_type (
  NautilusFileInfo* file_info,
  const char* mime_type
)

Description [src]

Returns whether the file is the given mime type. See nautilus_file_info_is_mime_type() for details.

Parameters

mime_type

Type: const char*

A MIME type.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE when the MIME type of file_info matches mime_type, and FALSE otherwise.