From f99211d069ceeaf32c781bdc97dc756c1f99f09f Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 28 Apr 2009 21:10:35 -0400 Subject: [PATCH] Add G_BEGIN_DECLS and G_END_DECLS around headers and fix email address --- AUTHORS | 2 +- champlain/champlain-map-source.h | 4 ++++ champlain/champlain-network-map-source.h | 3 +++ champlain/champlain-view.h | 4 ++++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 7b02e6e..e33e944 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,7 +12,7 @@ Emmanuele Bassi Lionel Dricot Simon Wenner Kritarth Upadhyay -Debarshi Ray +Debarshi Ray Paulo Cabido Sjoerd Simons Victor Godoy Poluceno diff --git a/champlain/champlain-map-source.h b/champlain/champlain-map-source.h index 8acb402..3073cbb 100644 --- a/champlain/champlain-map-source.h +++ b/champlain/champlain-map-source.h @@ -29,6 +29,8 @@ #include +G_BEGIN_DECLS + #define CHAMPLAIN_TYPE_MAP_SOURCE (champlain_map_source_get_type()) #define CHAMPLAIN_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CHAMPLAIN_TYPE_MAP_SOURCE, ChamplainMapSource)) #define CHAMPLAIN_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CHAMPLAIN_TYPE_MAP_SOURCE, ChamplainMapSourceClass)) @@ -104,4 +106,6 @@ void champlain_map_source_set_license (ChamplainMapSource *map_source, const gchar *license); const gchar * champlain_map_source_get_license (ChamplainMapSource *map_source); +G_END_DECLS + #endif diff --git a/champlain/champlain-network-map-source.h b/champlain/champlain-network-map-source.h index a796eac..e3b531b 100644 --- a/champlain/champlain-network-map-source.h +++ b/champlain/champlain-network-map-source.h @@ -28,6 +28,8 @@ #include +G_BEGIN_DECLS + #define CHAMPLAIN_TYPE_NETWORK_MAP_SOURCE (champlain_network_map_source_get_type()) #define CHAMPLAIN_NETWORK_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CHAMPLAIN_TYPE_NETWORK_MAP_SOURCE, ChamplainNetworkMapSource)) #define CHAMPLAIN_NETWORK_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CHAMPLAIN_TYPE_NETWORK_MAP_SOURCE, ChamplainNetworkMapSourceClass)) @@ -76,5 +78,6 @@ void champlain_network_map_source_get_tile (ChamplainMapSource *map_source, ChamplainZoomLevel *level, ChamplainTile *tile); +G_END_DECLS #endif diff --git a/champlain/champlain-view.h b/champlain/champlain-view.h index afc88a1..5bbc20c 100644 --- a/champlain/champlain-view.h +++ b/champlain/champlain-view.h @@ -33,6 +33,8 @@ #include #include +G_BEGIN_DECLS + #define CHAMPLAIN_TYPE_VIEW (champlain_view_get_type()) #define CHAMPLAIN_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CHAMPLAIN_TYPE_VIEW, ChamplainView)) #define CHAMPLAIN_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CHAMPLAIN_TYPE_VIEW, ChamplainViewClass)) @@ -126,4 +128,6 @@ void champlain_view_tile_ready (ChamplainView *view, ChamplainTile *tile, gboolean animate); +G_END_DECLS + #endif -- 2.39.5