Method

PurpleAttachmentequal

unstable since: 3.0

Declaration [src]

gboolean
purple_attachment_equal (
  PurpleAttachment* attachment1,
  PurpleAttachment* attachment2
)

Description [src]

Checks if two attachments are equal.

Attachments are considered equal if their PurpleAttachment:id properties are equal.

Available since: 3.0

Parameters

attachment2

Type: PurpleAttachment

The second instance.

The data is owned by the caller of the method.

Return value

Type: gboolean

True if the attachments are equal; otherwise false.