summaryrefslogtreecommitdiff
path: root/gtk/gtktextiterprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextiterprivate.h')
-rw-r--r--gtk/gtktextiterprivate.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gtk/gtktextiterprivate.h b/gtk/gtktextiterprivate.h
index b0c38662d5..b5b8506bf0 100644
--- a/gtk/gtktextiterprivate.h
+++ b/gtk/gtktextiterprivate.h
@@ -1,11 +1,9 @@
-#ifndef GTK_TEXT_ITER_PRIVATE_H
-#define GTK_TEXT_ITER_PRIVATE_H
+#ifndef __GTK_TEXT_ITER_PRIVATE_H__
+#define __GTK_TEXT_ITER_PRIVATE_H__
#include <gtk/gtktextiter.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#include <gtk/gtktextiter.h>
#include <gtk/gtktextbtree.h>
@@ -23,9 +21,7 @@ gint _gtk_text_iter_get_segment_char (const GtkTextIter
/* debug */
void _gtk_text_iter_check (const GtkTextIter *iter);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif