diff options
Diffstat (limited to 'gtk/gtktextsegment.h')
-rw-r--r-- | gtk/gtktextsegment.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gtk/gtktextsegment.h b/gtk/gtktextsegment.h index b28ec9f42d..79bda9a233 100644 --- a/gtk/gtktextsegment.h +++ b/gtk/gtktextsegment.h @@ -1,5 +1,5 @@ -#ifndef GTK_TEXT_SEGMENT_H -#define GTK_TEXT_SEGMENT_H +#ifndef __GTK_TEXT_SEGMENT_H__ +#define __GTK_TEXT_SEGMENT_H__ #include <gtk/gtktexttag.h> #include <gtk/gtktextiter.h> @@ -7,9 +7,7 @@ #include <gtk/gtktextchild.h> #include <gtk/gtktextchildprivate.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS /* * Segments: each line is divided into one or more segments, where each @@ -140,9 +138,7 @@ GtkTextLineSegment *_gtk_toggle_segment_new (GtkTextTagInfo *info gboolean on); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif |