Method

PurpleAttachmentsremove_attachment

unstable since: 3.0

Declaration [src]

gboolean
purple_attachments_remove_attachment (
  PurpleAttachments* attachments,
  PurpleAttachment* attachment
)

Description [src]

Removes an attachment from the collection.

If attachment is not in the collection it will be ignored.

Available since: 3.0

Parameters

attachment

Type: PurpleAttachment

The attachment to remove.

The data is owned by the caller of the method.

Return value

Type: gboolean

True if the item was removed; otherwise false.