Virtual Method


Declaration [src]

compare (
  GcrComparable* self,
  GcrComparable* other

Description [src]

Compare whether two objects represent the same thing. The return value can also be used to sort the objects.


other GcrComparable

Another comparable object.

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

Return value

Returns: gint

Zero if the two objects represent the same thing, non-zero if not.