diff --git a/glib/gthread.c b/glib/gthread.c index 44075b698..58d76c763 100644 --- a/glib/gthread.c +++ b/glib/gthread.c @@ -682,6 +682,10 @@ GThreadFunctions g_thread_functions_for_glib_use = { /** * GPrivate: * + * + * #GStaticPrivate is a better choice for most uses. + * + * * The #GPrivate struct is an opaque data structure to represent a * thread private data key. Threads can thereby obtain and set a * pointer which is private to the current thread. Take our @@ -741,6 +745,10 @@ GThreadFunctions g_thread_functions_for_glib_use = { * non-%NULL, the destructor is called with this pointer as the * argument. * + * + * #GStaticPrivate is a better choice for most uses. + * + * * @destructor is used quite differently from @notify in * g_static_private_set(). *