Function

PurpleNotificationcompare

since: 3.0

Declaration [src]

int
purple_notification_compare (
  gconstpointer a,
  gconstpointer b
)

Description [src]

A comparison function for PurpleNotification that is suitable as a GCompareFunc.

Available since: 3.0

Parameters

a

Type: gconstpointer

The first notification to compare.

The argument can be NULL.
The data is owned by the caller of the function.
b

Type: gconstpointer

The second notification to compare.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: int

-1 if as created timestamp occurred before b, 0 if they were created at the same time, or 1 if b was created before a.