diff options
Diffstat (limited to 'pango/pango-impl-utils.h')
-rw-r--r-- | pango/pango-impl-utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h index 7e1d3136..ebc4406d 100644 --- a/pango/pango-impl-utils.h +++ b/pango/pango-impl-utils.h @@ -21,8 +21,10 @@ */ #ifndef __PANGO_IMPL_UTILS_H__ +#define __PANGO_IMPL_UTILS_H__ #include <glib-object.h> +#include <pango/pango-utils.h> G_BEGIN_DECLS @@ -74,6 +76,7 @@ prefix ## _get_type (void) \ +/* Warning history. Used to not spew some warnings more than once. */ typedef struct _PangoWarningHistory PangoWarningHistory; struct _PangoWarningHistory { @@ -84,6 +87,11 @@ struct _PangoWarningHistory { extern PangoWarningHistory _pango_warning_history; + +/* String interning for static strings */ +#define I_(string) g_intern_static_string (string) + + G_END_DECLS #endif /* __PANGO_IMPL_UTILS_H__ */ |