summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2012-11-12 19:40:09 -0800
committerJohn Ralls <jralls@ceridwen.us>2012-11-15 10:02:26 +0900
commitb1d54a4178eeab6e7c7f96fd38bb9ebc2caae46e (patch)
tree171c7640571407db7df90a6e9a9753004e4d0e8c
parent7274bd56db3ce2f02594687a307d22aa99c787c4 (diff)
downloadpango-b1d54a4178eeab6e7c7f96fd38bb9ebc2caae46e.tar.gz
Provide a phony define for the LANGUAGE macro
Gobject-introspection encounters it without the definitions in the including code and fails.
-rw-r--r--pango/pango-language-sample-table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-language-sample-table.h b/pango/pango-language-sample-table.h
index a3ae0c6e..2c793872 100644
--- a/pango/pango-language-sample-table.h
+++ b/pango/pango-language-sample-table.h
@@ -49,6 +49,10 @@
*
* Needless to say, the list MUST be sorted on the language code.
*/
+/* Sacrificial define to make introspection happy. */
+#ifndef LANGUAGE(x, y, z)
+#define LANGUAGE(x, y, z)
+#endif
LANGUAGE(
af /* Afrikaans */,
GLASS,