diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2012-09-12 23:34:42 +0200 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2012-09-13 00:10:03 +0200 |
commit | 0d5714b926e4e2aac1fa7aeeb4c584789a9655b6 (patch) | |
tree | e8f4a052eb120969a2000ba601952101eca9b648 /tests/check | |
parent | 31a4ba93eec6c0813af6f77ce017180e04c06cdf (diff) | |
download | farstream-0d5714b926e4e2aac1fa7aeeb4c584789a9655b6.tar.gz |
Update for gstcheck changes following the GLib api changes
Diffstat (limited to 'tests/check')
-rw-r--r-- | tests/check/check-threadsafe.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/check/check-threadsafe.h b/tests/check/check-threadsafe.h index e40cb4cb..a24e4aa1 100644 --- a/tests/check/check-threadsafe.h +++ b/tests/check/check-threadsafe.h @@ -9,25 +9,25 @@ #define ts_fail_unless(...) \ G_STMT_START { \ - g_mutex_lock (check_mutex); \ + g_mutex_lock (&check_mutex); \ fail_unless (__VA_ARGS__); \ - g_mutex_unlock (check_mutex); \ + g_mutex_unlock (&check_mutex); \ } G_STMT_END #define ts_fail_if(...) \ G_STMT_START { \ - g_mutex_lock (check_mutex); \ + g_mutex_lock (&check_mutex); \ fail_if (__VA_ARGS__); \ - g_mutex_unlock (check_mutex); \ + g_mutex_unlock (&check_mutex); \ } G_STMT_END #define ts_fail(...) \ G_STMT_START { \ - g_mutex_lock (check_mutex); \ + g_mutex_lock (&check_mutex); \ fail (__VA_ARGS__); \ - g_mutex_unlock (check_mutex); \ + g_mutex_unlock (&check_mutex); \ } G_STMT_END #endif /* __CHECK_THREADSAFE_H__ */ |