Gio.Icon.equal

### Method

# Gio Iconequal

#### Declaration [src]

    gboolean
    g_icon_equal (
      GIcon* icon1,
      GIcon* icon2
    )

#### Description [src]

Checks if two icons are equal.

#### Parameters

`icon1`

  Type: `GIcon`

  Pointer to the first `GIcon`.

  The argument can be `NULL`.

`icon2`

  Type: `GIcon`

  Pointer to the second `GIcon`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

#### Return value

Type: `gboolean`

`TRUE` if `icon1` is equal to `icon2`. `FALSE` otherwise.