Stop dithering over GPrivate
authorRyan Lortie <desrt@desrt.ca>
Fri, 30 Sep 2011 18:22:04 +0000 (14:22 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 3 Oct 2011 00:04:03 +0000 (20:04 -0400)
commit8e43470c3827f5980f39bf9da0bc510858daf2be
treeb21013a6f6ebc8874ddd12a1ae132c890ddc2dec
parent7a75f56aa16ac13607a13f4e455a4fa4248ff750
Stop dithering over GPrivate

Take out the half-private g_private_init() stuff and replace it with a
G_PRIVATE_INIT macro that allows specifying a GDestroyNotify.

Expose the GPrivate structure in a public header.

Add a g_private_replace() to (sort of) match the functionality of
g_static_mutex_set().

Improve the documentation.

Deprecate g_private_new().
12 files changed:
docs/reference/glib/glib-overrides.txt
docs/reference/glib/glib-sections.txt
glib/deprecated/gthread-deprecated.c
glib/deprecated/gthread.h
glib/glib.symbols
glib/gmessages.c
glib/gslice.c
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c
glib/gthread.h
glib/gthreadprivate.h