This function existed before g_atomic_int_add() returned the prior
value of the integer (which it now does). It is retained only for
compatibility reasons. Don't use this function in new code.
a pointer to a gint
the value to add
the value of atomic before the add, signed
Deprecated: Use g_atomic_int_add() instead.