Method

GtkFileFilteradd_mime_type

since: 2.4

Declaration [src]

void
gtk_file_filter_add_mime_type (
  GtkFileFilter* filter,
  const gchar* mime_type
)

Description [src]

Adds a rule allowing a given mime type to filter.

Available since: 2.4

Parameters

mime_type

Type: const gchar*

Name of a MIME type.

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