aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view.h')
-rw-r--r--widgets/menus/gal-view.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/widgets/menus/gal-view.h b/widgets/menus/gal-view.h
index ce73400033..8973733a3b 100644
--- a/widgets/menus/gal-view.h
+++ b/widgets/menus/gal-view.h
@@ -27,9 +27,7 @@
#include <gtk/gtk.h>
#include <libxml/tree.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GAL_VIEW_TYPE (gal_view_get_type ())
#define GAL_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GAL_VIEW_TYPE, GalView))
@@ -91,8 +89,6 @@ GalView *gal_view_clone (GalView *view);
void gal_view_changed (GalView *view);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _GAL_VIEW_H_ */