summaryrefslogtreecommitdiff
path: root/pango/pango-enum-types.c.template
Commit message (Collapse)AuthorAgeFilesLines
* Quiet a compiler warningcompiler-warningMatthias Clasen2021-03-311-1/+1
| | | | | | GLib now causes compiler warnings when passing a volatile variable to g_atomic_ apis. Drop the volatile to pacify gcc.
* Fix build reproducibilityJoshua Watt2019-11-201-1/+1
| | | | | | | | Changes the comment in pango-enum-types.c to reference the file basename instead of the full path. This ensures that the generated file is reproducible when it is included in source packages meant for debugging. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* pango/pango-enum-types.c.template: Include config.h firstChun-wei Fan2016-06-291-0/+2
| | | | | This is to ensure that we can override the verion macros to export the symbols later.
* Make enum get_type functions thread-safeMatthias Clasen2012-08-281-0/+36
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.