Method

PurpleBadgesremove_badge

unstable since: 3.0

Declaration [src]

gboolean
purple_badges_remove_badge (
  PurpleBadges* badges,
  const char* id
)

Description [src]

Removes the badge with an id of id.

Available since: 3.0

Parameters

id

Type: const char*

The id of the badge to remove.

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

Return value

Type: gboolean

TRUE if a badge was found with an id of id, otherwise FALSE.