From 67159043da2de9df576f6a4eaa245e0c3926f004 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2009 12:56:51 -0400 Subject: Use G_BEGIN_DECLS / G_END_DECLS macros. --- widgets/menus/gal-view-factory.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'widgets/menus/gal-view-factory.h') 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 #include -#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_ */ -- cgit v1.2.3