diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2012-01-23 11:11:24 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-03-27 12:10:00 +0100 |
commit | 19343fb6a8a4bd3a2008c07b4f13ee2b0bf700d7 (patch) | |
tree | b3d01a1a3d8d08db1a1c8eeff362ea84146480e5 /dbus/dbus-sysdeps.c | |
parent | bee5d4fb05f019f0907989ae82bb6c66b5743f82 (diff) | |
download | dbus-19343fb6a8a4bd3a2008c07b4f13ee2b0bf700d7.tar.gz |
Port to glib 2.31.x g_thread API
g_thread_init() is deprecated since glib 2.24, call g_type_init() instead.
Bump glib requirement accordingly.
g_thread_create is deprecated since 2.31, use g_thread_new() instead. When
building with a glib earlier than 2.31, provide a backwards compatibility shim.
[Added a comment about why we're using g_type_init() in a test that
doesn't otherwise use GObject -smcv]
[Applied to 1.4 despite just being a deprecation fix because it also fixes
linking with GLib 2.32, in which gthread has been removed from gobject's
Requires and moved to Requires.private, Debian #665665 -smcv]
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=44413
Bug-Debian: http://bugs.debian.org/665665
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'dbus/dbus-sysdeps.c')
0 files changed, 0 insertions, 0 deletions