Method

PurpleTagsremove_with_value

unstable since: 3.0

Declaration [src]

gboolean
purple_tags_remove_with_value (
  PurpleTags* tags,
  const char* name,
  const char* value
)

Description [src]

A helper function around purple_tags_remove() that builds the tag variable from name and value.

Available since: 3.0

Parameters

name

Type: const char*

The tag name.

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

Type: const char*

The tag value.

The argument can be NULL.
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 tag was found and removed, otherwise FALSE.