16 lines
586 B
Text
16 lines
586 B
Text
$NetBSD: patch-e_data_book_factory_c,v 1.1 2012/02/06 10:44:43 drochner Exp $
|
|
|
|
Replace deprecated g_atomic_int_exchange_and_add()
|
|
1886d3d0573388aa5c13af99f714687ba6a66ec6
|
|
|
|
--- addressbook/libedata-book/e-data-book-factory.c.orig 2011-04-21 19:36:35.000000000 +0000
|
|
+++ addressbook/libedata-book/e-data-book-factory.c
|
|
@@ -229,7 +229,7 @@ construct_book_factory_path (void)
|
|
|
|
return g_strdup_printf (
|
|
"/org/gnome/evolution/dataserver/addressbook/%d/%u",
|
|
- getpid (), g_atomic_int_exchange_and_add (&counter, 1));
|
|
+ getpid (), g_atomic_int_add (&counter, 1));
|
|
}
|
|
|
|
static gboolean
|