aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view-factory.h')
-rw-r--r--widgets/menus/gal-view-factory.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/widgets/menus/gal-view-factory.h b/widgets/menus/gal-view-factory.h
index 59f46a20e9..41b7564de0 100644
--- a/widgets/menus/gal-view-factory.h
+++ b/widgets/menus/gal-view-factory.h
@@ -27,9 +27,7 @@
#include <glib-object.h>
#include <widgets/menus/gal-view.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GAL_VIEW_FACTORY_TYPE (gal_view_factory_get_type ())
#define GAL_VIEW_FACTORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactory))
@@ -71,9 +69,7 @@ const gchar *gal_view_factory_get_type_code (GalViewFactory *factory);
GalView *gal_view_factory_new_view (GalViewFactory *factory,
const gchar *name);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _GAL_VIEW_FACTORY_H_ */