From 29a16980fe69212149673725edf23b45947235bf Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 12 Oct 2011 00:20:43 +0100 Subject: [PATCH] interactive/threads: Use G_PRIVATE_INIT Though strictly not necessary, we should be using the proper init macro for GPrivate. --- tests/interactive/test-threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/interactive/test-threads.c b/tests/interactive/test-threads.c index 4327d53be..72a68a908 100644 --- a/tests/interactive/test-threads.c +++ b/tests/interactive/test-threads.c @@ -52,7 +52,7 @@ test_thread_done_idle (gpointer user_data) return FALSE; } -static GPrivate test_thread_data; +static GPrivate test_thread_data = G_PRIVATE_INIT (test_thread_data_free); typedef struct {