diff options
Diffstat (limited to 'tests/test-thread.c')
-rw-r--r-- | tests/test-thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-thread.c b/tests/test-thread.c index 0f5b909..438cb97 100644 --- a/tests/test-thread.c +++ b/tests/test-thread.c @@ -43,8 +43,7 @@ other_thread_cb (TestThread *self) static void test_thread_emit_signal (TestThread *self) { - self->thread = g_thread_create ((GThreadFunc)other_thread_cb, - self, TRUE, NULL); + self->thread = g_thread_new ("t", (GThreadFunc)other_thread_cb, self); } static void test_thread_init (TestThread *self) {} |