From 044ffd870ee8223967439aa5217936e3e1b8500c Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 17 Feb 2001 08:38:17 +0000 Subject: From a patch submitted by Murray Cumming 2001-02-17 Christopher James Lahey From a patch submitted by Murray Cumming * gal-define-views-model.h, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, gal-view-factory.h, gal-view.h: Added GNOME_DECLS. svn path=/trunk/; revision=8266 --- widgets/menus/gal-define-views-model.h | 8 ++++++++ widgets/menus/gal-view-collection.h | 10 ++++++++++ widgets/menus/gal-view-etable.h | 8 ++++++++ widgets/menus/gal-view-factory-etable.h | 8 ++++++++ widgets/menus/gal-view-factory.h | 9 +++++++++ widgets/menus/gal-view.h | 8 ++++++++ 6 files changed, 51 insertions(+) (limited to 'widgets') diff --git a/widgets/menus/gal-define-views-model.h b/widgets/menus/gal-define-views-model.h index 08e367058b..4aac712df6 100644 --- a/widgets/menus/gal-define-views-model.h +++ b/widgets/menus/gal-define-views-model.h @@ -6,6 +6,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define GAL_DEFINE_VIEWS_MODEL_TYPE (gal_define_views_model_get_type ()) #define GAL_DEFINE_VIEWS_MODEL(o) (GTK_CHECK_CAST ((o), GAL_DEFINE_VIEWS_MODEL_TYPE, GalDefineViewsModel)) #define GAL_DEFINE_VIEWS_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_DEFINE_VIEWS_MODEL_TYPE, GalDefineViewsModelClass)) @@ -39,4 +43,8 @@ void gal_define_views_model_delete_view (GalDefineViewsModel *model, void gal_define_views_model_copy_view (GalDefineViewsModel *model, int i); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _GAL_DEFINE_VIEWS_MODEL_H_ */ diff --git a/widgets/menus/gal-view-collection.h b/widgets/menus/gal-view-collection.h index bfe47781a7..bfb790d0ae 100644 --- a/widgets/menus/gal-view-collection.h +++ b/widgets/menus/gal-view-collection.h @@ -5,6 +5,11 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + #define GAL_VIEW_COLLECTION_TYPE (gal_view_collection_get_type ()) #define GAL_VIEW_COLLECTION(o) (GTK_CHECK_CAST ((o), GAL_VIEW_COLLECTION_TYPE, GalViewCollection)) #define GAL_VIEW_COLLECTION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_COLLECTION_TYPE, GalViewCollectionClass)) @@ -78,4 +83,9 @@ void gal_view_collection_load (GalViewColl void gal_view_collection_save (GalViewCollection *collection); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif /* _GAL_VIEW_COLLECTION_H_ */ diff --git a/widgets/menus/gal-view-etable.h b/widgets/menus/gal-view-etable.h index 98a1ddc861..9fde64a9cb 100644 --- a/widgets/menus/gal-view-etable.h +++ b/widgets/menus/gal-view-etable.h @@ -7,6 +7,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define GAL_VIEW_ETABLE_TYPE (gal_view_etable_get_type ()) #define GAL_VIEW_ETABLE(o) (GTK_CHECK_CAST ((o), GAL_VIEW_ETABLE_TYPE, GalViewEtable)) #define GAL_VIEW_ETABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_ETABLE_TYPE, GalViewEtableClass)) @@ -33,4 +37,8 @@ GalView *gal_view_etable_construct (GalViewEtable *view, ETableSpecification *spec, const gchar *title); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _GAL_VIEW_ETABLE_H_ */ diff --git a/widgets/menus/gal-view-factory-etable.h b/widgets/menus/gal-view-factory-etable.h index 226eac922a..f41697f9f5 100644 --- a/widgets/menus/gal-view-factory-etable.h +++ b/widgets/menus/gal-view-factory-etable.h @@ -6,6 +6,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define GAL_VIEW_FACTORY_ETABLE_TYPE (gal_view_factory_etable_get_type ()) #define GAL_VIEW_FACTORY_ETABLE(o) (GTK_CHECK_CAST ((o), GAL_VIEW_FACTORY_ETABLE_TYPE, GalViewFactoryEtable)) #define GAL_VIEW_FACTORY_ETABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_ETABLE_TYPE, GalViewFactoryEtableClass)) @@ -28,4 +32,8 @@ GalViewFactory *gal_view_factory_etable_new (ETableSpecification *spec); GalViewFactory *gal_view_factory_etable_construct (GalViewFactoryEtable *factory, ETableSpecification *spec); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _GAL_VIEW_FACTORY_ETABLE_H_ */ diff --git a/widgets/menus/gal-view-factory.h b/widgets/menus/gal-view-factory.h index 724235d7a6..dd828145e5 100644 --- a/widgets/menus/gal-view-factory.h +++ b/widgets/menus/gal-view-factory.h @@ -5,6 +5,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define GAL_VIEW_FACTORY_TYPE (gal_view_factory_get_type ()) #define GAL_VIEW_FACTORY(o) (GTK_CHECK_CAST ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactory)) #define GAL_VIEW_FACTORY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_TYPE, GalViewFactoryClass)) @@ -44,4 +48,9 @@ const char *gal_view_factory_get_type_code (GalViewFactory *factory); GalView *gal_view_factory_new_view (GalViewFactory *factory, const char *name); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif /* _GAL_VIEW_FACTORY_H_ */ diff --git a/widgets/menus/gal-view.h b/widgets/menus/gal-view.h index 6302df2057..5cc7cc679c 100644 --- a/widgets/menus/gal-view.h +++ b/widgets/menus/gal-view.h @@ -5,6 +5,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define GAL_VIEW_TYPE (gal_view_get_type ()) #define GAL_VIEW(o) (GTK_CHECK_CAST ((o), GAL_VIEW_TYPE, GalView)) #define GAL_VIEW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_TYPE, GalViewClass)) @@ -63,4 +67,8 @@ GalView *gal_view_clone (GalView *view); void gal_view_changed (GalView *view); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _GAL_VIEW_H_ */ -- cgit v1.2.3