Gio.Icon.equal (original) (raw)

Gio

API Version: 2.0

Library Version: 2.89.0

Type

Icon

Methods

equal hash serialize to_string

Generated by gi-docgen 2026.1

Method

GioIconequal

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.