Method

PurpleBadgeManagerfind

unstable since: 3.0

Declaration [src]

PurpleBadge*
purple_badge_manager_find (
  PurpleBadgeManager* manager,
  const char* id
)

Description [src]

Looks for badge with the given id.

Available since: 3.0

Parameters

id

Type: const char*

The identifier of the badge.

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

Return value

Type: PurpleBadge

The PurpleBadge if found.

The returned data is owned by the instance.
The return value can be NULL.