Gio.content_type_equals
Description: Reference for Gio.content_type_equals

### Function

# Giocontent_type_equals

since: 2.0

#### Declaration

    gboolean
    g_content_type_equals (
      const gchar* type1,
      const gchar* type2
    )

#### Description

Compares two content types for equality.

Available since: 2.0

#### Parameters

`type1`

  Type: `const gchar*`

  A content type string.

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

`type2`

  Type: `const gchar*`

  A content type string.

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

#### Return value

Type: `gboolean`

`TRUE` if the two strings are identical or equivalent, `FALSE` otherwise.