Method

PurpleBadgeManageradd

unstable since: 3.0

Declaration [src]

gboolean
purple_badge_manager_add (
  PurpleBadgeManager* manager,
  PurpleBadge* badge
)

Description [src]

Adds badge to manager.

Available since: 3.0

Parameters

badge

Type: PurpleBadge

The badge to add.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if badge was not already added to manager.