[glib] Fix up testcase broken due to g_thread_new API change
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix up testcase broken due to g_thread_new API change
- Date: Mon, 17 Oct 2011 21:00:58 +0000 (UTC)
commit 52389bd01067284565b007bc156643d534282842
Author: Alexander Larsson <alexl redhat com>
Date: Mon Oct 17 23:00:29 2011 +0200
Fix up testcase broken due to g_thread_new API change
gio/tests/win32-streams.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/win32-streams.c b/gio/tests/win32-streams.c
index 36e98ae..fd4b27b 100644
--- a/gio/tests/win32-streams.c
+++ b/gio/tests/win32-streams.c
@@ -236,8 +236,8 @@ test_pipe_io (void)
reader_cancel = g_cancellable_new ();
main_cancel = g_cancellable_new ();
- writer = g_thread_new ("writer", writer_thread, NULL, TRUE, NULL);
- reader = g_thread_new ("reader", reader_thread, NULL, TRUE, NULL);
+ writer = g_thread_new ("writer", writer_thread, NULL);
+ reader = g_thread_new ("reader", reader_thread, NULL);
g_assert (DuplicateHandle (GetCurrentProcess (),
(HANDLE) (gintptr) _get_osfhandle (writer_pipe[0]),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]