[libchamplain/libchamplain-0-4] Add G_BEGIN_DECLS/G_END_DECLS where appropriate



commit 1027ca46acc8a08012e4ad8d91ce9368f58976ec
Author: JiÅ?í Techet <techet gmail com>
Date:   Sun May 23 14:48:09 2010 +0200

    Add G_BEGIN_DECLS/G_END_DECLS where appropriate
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain-gtk/gtk-champlain-embed.h |    6 +++++-
 champlain/champlain-map.h           |    4 ++++
 champlain/champlain-point.h         |    4 ++++
 3 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/champlain-gtk/gtk-champlain-embed.h b/champlain-gtk/gtk-champlain-embed.h
index 216d85f..c20caf2 100644
--- a/champlain-gtk/gtk-champlain-embed.h
+++ b/champlain-gtk/gtk-champlain-embed.h
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
- 
+
 #if !defined (__CHAMPLAIN_GTK_CHAMPLAIN_GTK_H_INSIDE__) && !defined (CHAMPLAIN_GTK_COMPILATION)
 #error "Only <champlain/champlain.h> can be included directly."
 #endif
@@ -26,6 +26,8 @@
 #include <gtk/gtk.h>
 #include <champlain/champlain.h>
 
+G_BEGIN_DECLS
+
 #define GTK_TYPE_CHAMPLAIN_EMBED     (gtk_champlain_embed_get_type())
 #define GTK_CHAMPLAIN_EMBED(obj)     (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CHAMPLAIN_EMBED, GtkChamplainEmbed))
 #define GTK_CHAMPLAIN_EMBED_CLASS(klass)  (G_TYPE_CHECK_CLASS_CAST((klass),  GTK_TYPE_CHAMPLAIN_EMBED, GtkChamplainEmbedClass))
@@ -62,4 +64,6 @@ GtkWidget *champlain_view_embed_new (ChamplainView *view) G_GNUC_DEPRECATED;
 ChamplainView *champlain_view_embed_get_view (GtkChamplainEmbed* embed) G_GNUC_DEPRECATED;
 void champlain_view_embed_set_view (GtkChamplainEmbed *embed, ChamplainView *view) G_GNUC_DEPRECATED;
 
+G_END_DECLS
+
 #endif
diff --git a/champlain/champlain-map.h b/champlain/champlain-map.h
index 6550712..1272891 100644
--- a/champlain/champlain-map.h
+++ b/champlain/champlain-map.h
@@ -29,6 +29,8 @@
 #include <glib.h>
 #include <clutter/clutter.h>
 
+G_BEGIN_DECLS
+
 struct _Map
 {
   ChamplainZoomLevel *current_level;
@@ -58,4 +60,6 @@ void map_load_level(Map *map,
     ChamplainMapSource *map_source,
     gint zoom_level);
 
+G_END_DECLS
+
 #endif
diff --git a/champlain/champlain-point.h b/champlain/champlain-point.h
index 06a2083..a489d1f 100644
--- a/champlain/champlain-point.h
+++ b/champlain/champlain-point.h
@@ -25,6 +25,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 typedef struct _ChamplainPoint ChamplainPoint;
 
 struct _ChamplainPoint
@@ -44,4 +46,6 @@ void champlain_point_free (ChamplainPoint *point);
 ChamplainPoint * champlain_point_new (gdouble lat,
     gdouble lon);
 
+G_END_DECLS
+
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]