dbus/test
Martin Pitt 19343fb6a8 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>
2012-03-27 12:10:00 +01:00
..
data Revert addition of files which were only meant to exist on master, too 2012-01-23 10:27:32 +00:00
internals Port to glib 2.31.x g_thread API 2012-03-27 12:10:00 +01:00
name-test Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
.gitignore Add a test for marshalling and endian-swapping 2011-06-10 18:32:43 +01:00
break-loader.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
corrupt.c corrupt test: compile successfully against older GLib (Debian stable) 2011-11-02 15:20:51 +00:00
dbus-daemon.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
loopback.c Fix copyright dates 2011-06-10 18:33:22 +01:00
Makefile.am Enumerate data files used in the build rather than using find(1) 2012-03-12 11:45:27 +00:00
marshal.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
relay.c relay test: don't leak the server's address 2011-08-05 14:46:09 +01:00
shell-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
spawn-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-exit.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-names.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-segfault.c Make more signal and locale interface use conditional. 2010-03-22 17:28:55 +01:00
test-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
test-shell-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
test-sleep-forever.c fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
test-utils.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
test-utils.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00