diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-10-21 14:15:09 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2011-10-21 14:15:09 +0200 |
commit | bd014bd8a442cae12aace7deb6e6a4d21ac3dd0e (patch) | |
tree | 4b95475577042b744ff00d8ebffd8de9a5300e5a /client/gdaemonvfs.c | |
parent | 90372ae6344398beaca9ef8c37ba2704014a5c39 (diff) | |
download | gvfs-bd014bd8a442cae12aace7deb6e6a4d21ac3dd0e.tar.gz |
Adapt to GLib 2.31 deprecations and thread API changes
GStaticMutex and GStaticRWLock have been replaced by GMutex
and GRWLock, and g_thread_init() is no longer needed.
https://bugzilla.gnome.org/show_bug.cgi?id=661148
Diffstat (limited to 'client/gdaemonvfs.c')
-rw-r--r-- | client/gdaemonvfs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c index 0f021b9e..ae17c3c6 100644 --- a/client/gdaemonvfs.c +++ b/client/gdaemonvfs.c @@ -298,9 +298,8 @@ g_daemon_vfs_init (GDaemonVfs *vfs) bindtextdomain (GETTEXT_PACKAGE, GVFS_LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - - if (g_thread_supported ()) - dbus_threads_init_default (); + + dbus_threads_init_default (); vfs->async_bus = dbus_bus_get_private (DBUS_BUS_SESSION, NULL); |