diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-10-02 20:51:38 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-10-02 22:33:10 -0400 |
commit | 2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3 (patch) | |
tree | f4b8f8d45ab71e6ac93f662a98ae5363bc4a8b6e /tests | |
parent | 3315aee70915deb12374ab1d6134e4414114bec3 (diff) |
locks: drop _INIT macros
All locks are now zero-initialised, so we can drop the G_*_INIT macros
for them.
Adjust various users around GLib accordingly and change the docs.
https://bugzilla.gnome.org/show_bug.cgi?id=659866
Diffstat (limited to 'tests')
-rw-r--r-- | tests/thread-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thread-test.c b/tests/thread-test.c index fa4f02bfb..0f41fc7cd 100644 --- a/tests/thread-test.c +++ b/tests/thread-test.c @@ -110,7 +110,7 @@ test_g_static_rec_mutex (void) static GStaticPrivate test_g_static_private_private1 = G_STATIC_PRIVATE_INIT; static GStaticPrivate test_g_static_private_private2 = G_STATIC_PRIVATE_INIT; -static GMutex test_g_static_private_mutex = G_MUTEX_INIT; +static GMutex test_g_static_private_mutex; static guint test_g_static_private_counter = 0; static guint test_g_static_private_ready = 0; |