aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas-vbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-canvas-vbox.h')
-rw-r--r--widgets/misc/e-canvas-vbox.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/widgets/misc/e-canvas-vbox.h b/widgets/misc/e-canvas-vbox.h
index 7fa38fa778..fb049c3e9c 100644
--- a/widgets/misc/e-canvas-vbox.h
+++ b/widgets/misc/e-canvas-vbox.h
@@ -26,10 +26,7 @@
#include <gtk/gtk.h>
#include <libgnomecanvas/gnome-canvas.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* ECanvasVbox - A canvas item container.
*
@@ -84,9 +81,7 @@ void e_canvas_vbox_add_item(ECanvasVbox *e_canvas_vbox, GnomeCanvasItem *i
void e_canvas_vbox_add_item_start(ECanvasVbox *e_canvas_vbox, GnomeCanvasItem *item);
GType e_canvas_vbox_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_CANVAS_VBOX_H__ */