summaryrefslogtreecommitdiff
path: root/client/gdaemonfileenumerator.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-10-21 13:59:29 +0200
committerTomas Bzatek <tbzatek@redhat.com>2011-10-21 13:59:29 +0200
commit90372ae6344398beaca9ef8c37ba2704014a5c39 (patch)
treebda058bd5bed51f2b6c96cb04f9b46a285eff0ca /client/gdaemonfileenumerator.c
parent94489e37b70992961c7afddbb2b875a907a4f35f (diff)
Use g_atomic_int_add instead of deprecated g_atomic_int_exchange_and_add.
https://bugzilla.gnome.org/show_bug.cgi?id=659815
Diffstat (limited to 'client/gdaemonfileenumerator.c')
-rw-r--r--client/gdaemonfileenumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gdaemonfileenumerator.c b/client/gdaemonfileenumerator.c
index 46df64a7..d8ca8ab6 100644
--- a/client/gdaemonfileenumerator.c
+++ b/client/gdaemonfileenumerator.c
@@ -144,7 +144,7 @@ g_daemon_file_enumerator_init (GDaemonFileEnumerator *daemon)
{
char *path;
- daemon->id = g_atomic_int_exchange_and_add (&path_counter, 1);
+ daemon->id = g_atomic_int_add (&path_counter, 1);
path = g_daemon_file_enumerator_get_object_path (daemon);
_g_dbus_register_vfs_filter (path, g_daemon_file_enumerator_dbus_filter,