summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextdisplay.h')
-rw-r--r--gtk/gtktextdisplay.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/gtk/gtktextdisplay.h b/gtk/gtktextdisplay.h
index 28735d5763..b93a84c2b2 100644
--- a/gtk/gtktextdisplay.h
+++ b/gtk/gtktextdisplay.h
@@ -74,14 +74,12 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#ifndef GTK_TEXT_DISPLAY_H
-#define GTK_TEXT_DISPLAY_H
+#ifndef __GTK_TEXT_DISPLAY_H__
+#define __GTK_TEXT_DISPLAY_H__
#include <gtk/gtktextlayout.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* A semi-public header intended for use by code that also
* uses GtkTextLayout
@@ -109,9 +107,6 @@ void gtk_text_layout_draw (GtkTextLayout *layout,
GList **widgets);
+G_END_DECLS
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* GTK_TEXT_DISPLAY_H */
+#endif /* __GTK_TEXT_DISPLAY_H__ */