summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 85b00e42..fc43ece2 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -27,9 +27,7 @@
#include <pango/pango-glyph.h>
#include <pango/pango-tabs.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _PangoLayout PangoLayout;
typedef struct _PangoLayoutClass PangoLayoutClass;
@@ -230,9 +228,7 @@ void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter,
PangoRectangle *logical_rect);
int pango_layout_iter_get_baseline (PangoLayoutIter *iter);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __PANGO_LAYOUT_H__ */