summaryrefslogtreecommitdiff
path: root/gabble
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-06-03 05:54:36 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-06-03 15:22:10 -0300
commitbfe56f166fee68b2dc1c48c9f226beeffc4f773a (patch)
tree47b3ff51cfad7768710c26e6f61e20480158b4c8 /gabble
parent0ceb97b6b734599a8ed4f07c68eda33db3f26516 (diff)
plugin API: Add G_BEGIN/END_DECLS.
Diffstat (limited to 'gabble')
-rw-r--r--gabble/error.h6
-rw-r--r--gabble/plugin.h4
-rw-r--r--gabble/sidecar.h4
3 files changed, 14 insertions, 0 deletions
diff --git a/gabble/error.h b/gabble/error.h
index 9adb1f2f4..035fdc469 100644
--- a/gabble/error.h
+++ b/gabble/error.h
@@ -24,9 +24,15 @@
#error Use #include <gabble/gabble.h> instead of <gabble/error.h>
#endif
+#include <glib.h>
+
#include <wocky/wocky-xmpp-error.h>
+G_BEGIN_DECLS
+
void gabble_set_tp_error_from_wocky (const GError *wocky_error,
GError **error);
+G_END_DECLS
+
#endif
diff --git a/gabble/plugin.h b/gabble/plugin.h
index f1029b388..007c8f200 100644
--- a/gabble/plugin.h
+++ b/gabble/plugin.h
@@ -29,6 +29,8 @@
#include <gabble/sidecar.h>
+G_BEGIN_DECLS
+
#define GABBLE_TYPE_PLUGIN (gabble_plugin_get_type ())
#define GABBLE_PLUGIN(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GABBLE_TYPE_PLUGIN, GabblePlugin))
@@ -112,4 +114,6 @@ GabblePlugin *gabble_plugin_create (void);
typedef GabblePlugin *(*GabblePluginCreateImpl) (void);
+G_END_DECLS
+
#endif
diff --git a/gabble/sidecar.h b/gabble/sidecar.h
index 5cec218dc..992374772 100644
--- a/gabble/sidecar.h
+++ b/gabble/sidecar.h
@@ -23,6 +23,8 @@
#include <glib-object.h>
+G_BEGIN_DECLS
+
#define GABBLE_TYPE_SIDECAR (gabble_sidecar_get_type ())
#define GABBLE_SIDECAR(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GABBLE_TYPE_SIDECAR, GabbleSidecar))
@@ -57,4 +59,6 @@ GType gabble_sidecar_get_type (void);
const gchar *gabble_sidecar_get_interface (GabbleSidecar *sidecar);
GHashTable *gabble_sidecar_get_immutable_properties (GabbleSidecar *sidecar);
+G_END_DECLS
+
#endif