Make enum get_type functions thread-safe
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Aug 2012 02:06:20 +0000 (22:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Aug 2012 02:06:20 +0000 (22:06 -0400)
commit88692e4eb0a971f6d32da9207c9c91c8d8c7c8d9
tree284b1eb2e54678898a581f31850a15d6eb52ae35
parent4ea16a17ca32d11bb3fd59132823350a77568b70
Make enum get_type functions thread-safe

Use a more modern, template-based way of calling glib-mkenums,
and use templates that use g_once_init_enter/leave to be
thread-safe.
pango/Makefile.am
pango/pango-enum-types.c.template [new file with mode: 0644]
pango/pango-enum-types.h.template [new file with mode: 0644]