diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-01 13:22:46 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:22 +0800 |
commit | 37fa42f72f2c1f63599178cecbca0015662445f8 (patch) | |
tree | f7c299227ce841b168f6ceb6970d25a9e217622e /mail/mail-mt.c | |
parent | c728cc2d960e47e904cd4fe3bac853c1901a7a14 (diff) | |
download | gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar.gz gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar.bz2 gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar.lz gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar.xz gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.tar.zst gsoc2013-evolution-37fa42f72f2c1f63599178cecbca0015662445f8.zip |
Replace deprecated g_atomic_int_exchange_and_add()
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 686f6dc0aa..5ef8a0147e 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -165,7 +165,7 @@ mail_msg_unref (gpointer msg) g_return_if_fail (mail_msg != NULL); g_return_if_fail (mail_msg->ref_count > 0); - if (g_atomic_int_exchange_and_add (&mail_msg->ref_count, -1) > 1) + if (g_atomic_int_add (&mail_msg->ref_count, -1) > 1) return; #ifdef MALLOC_CHECK |