Move g_private_new() to common code
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Sep 2011 01:24:25 +0000 (21:24 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 21 Sep 2011 20:06:54 +0000 (16:06 -0400)
commit862e086b79aa285c22f53b6351f6b8816adf2ed5
tree96b084641623b16cfaade53cdfc0e88179ad994e
parentdffca808469f372352a2f6cfe58f8ad026ce3a5e
Move g_private_new() to common code

The implementations for posix and win32 were identical, so
move it to gthread.c, to go with g_mutex_new() and g_cond_new().
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c