[libchamplain] Add some missing G_BEGIN_DECLS/G_END_DECLS



commit e7c81ffb30be38618abed79ba57ea051ebf913e7
Author: JiÅ?í Techet <techet gmail com>
Date:   Tue May 11 23:12:40 2010 +0200

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

 champlain-gtk/gtk-champlain-embed.h |    4 ++++
 champlain/champlain-point.h         |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/champlain-gtk/gtk-champlain-embed.h b/champlain-gtk/gtk-champlain-embed.h
index d534328..bc89be6 100644
--- a/champlain-gtk/gtk-champlain-embed.h
+++ b/champlain-gtk/gtk-champlain-embed.h
@@ -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))
@@ -57,4 +59,6 @@ GType gtk_champlain_embed_get_type (void);
 GtkWidget *gtk_champlain_embed_new (void);
 ChamplainView *gtk_champlain_embed_get_view (GtkChamplainEmbed* embed);
 
+G_END_DECLS
+
 #endif
diff --git a/champlain/champlain-point.h b/champlain/champlain-point.h
index 4784aae..92742e4 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;
 
 /**
@@ -51,4 +53,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]