summaryrefslogtreecommitdiff
path: root/gtk/gtkdrawingarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkdrawingarea.h')
-rw-r--r--gtk/gtkdrawingarea.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkdrawingarea.h b/gtk/gtkdrawingarea.h
index a483117c89..fd445e16ac 100644
--- a/gtk/gtkdrawingarea.h
+++ b/gtk/gtkdrawingarea.h
@@ -32,10 +32,7 @@
#include <gtk/gtkwidget.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GTK_TYPE_DRAWING_AREA (gtk_drawing_area_get_type ())
#define GTK_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingArea))
@@ -77,9 +74,6 @@ void gtk_drawing_area_size (GtkDrawingArea *darea,
#endif /* GTK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_DRAWING_AREA_H__ */