[clutter] interactive/threads: Use G_PRIVATE_INIT
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] interactive/threads: Use G_PRIVATE_INIT
- Date: Tue, 11 Oct 2011 23:22:10 +0000 (UTC)
commit 29a16980fe69212149673725edf23b45947235bf
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Oct 12 00:20:43 2011 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/interactive/test-threads.c b/tests/interactive/test-threads.c
index 4327d53..72a68a9 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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]