Function

Giocontent_type_is_a

Declaration [src]

gboolean
g_content_type_is_a (
  const gchar* type,
  const gchar* supertype
)

Description [src]

Determines if type is a subset of supertype.

Parameters

type const gchar*
 

A content type string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
supertype const gchar*
 

A content type string.

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

Return value

Returns: gboolean
 

TRUE if type is a kind of supertype, FALSE otherwise.