summaryrefslogtreecommitdiff
path: root/pango/pango-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-item.h')
-rw-r--r--pango/pango-item.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pango/pango-item.h b/pango/pango-item.h
index 59e67945..c16368a8 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -25,9 +25,7 @@
#include <pango/pango-types.h>
#include <pango/pango-item.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _PangoAnalysis PangoAnalysis;
typedef struct _PangoItem PangoItem;
@@ -57,8 +55,6 @@ PangoItem *pango_item_split (PangoItem *orig,
int split_index,
int split_offset);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __PANGO_ITEM_H__ */