Method
PurpleBadgesadd_badge
unstable since: 3.0
Declaration [src]
gboolean
purple_badges_add_badge (
  PurpleBadges* badges,
  PurpleBadge* badge
)
      Description [src]
Adds badge to badges.
If a badge with the same id of badge already exists, badge will not be
added and FALSE will be returned.
Available since: 3.0
Parameters
badge- 
            
Type:
PurpleBadgeThe new badge to add.
The data is owned by the caller of the method.