Method

PurpleBadgeequal

unstable since: 3.0

Declaration [src]

gboolean
purple_badge_equal (
  PurpleBadge* badge1,
  PurpleBadge* badge2
)

Description [src]

Checks if badge1 and badge2 have the same id.

Available since: 3.0

Parameters

badge2

Type: PurpleBadge

The second badge.

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

Return value

Type: gboolean

TRUE if the badges have the same id.