summaryrefslogtreecommitdiff
path: root/pango/pango-impl-utils.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-03-31 01:42:54 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-03-31 01:42:54 +0000
commitd2c62958dcb3744f273264b0ba5b71b77a89a1c0 (patch)
tree2bc150c1695c7685cf8d6d58a16fcabe6b76e9c7 /pango/pango-impl-utils.h
parenta2d9f1a92b48b9a878f8bd2f9be5fd8f3c7b4c82 (diff)
downloadpango-d2c62958dcb3744f273264b0ba5b71b77a89a1c0.tar.gz
Hook up pango-utils.h into the documentation, as we are installing it
2006-03-30 Behdad Esfahbod <behdad@gnome.org> Hook up pango-utils.h into the documentation, as we are installing it anyway. Move some internal stuff to pango-impl-utils.h and make source files include that instead.
Diffstat (limited to 'pango/pango-impl-utils.h')
-rw-r--r--pango/pango-impl-utils.h8
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__ */