summaryrefslogtreecommitdiff
path: root/atspi/atspi-stateset.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-05-21 17:40:11 -0500
committerMike Gorse <mgorse@suse.com>2012-05-21 17:40:11 -0500
commit6581952c14635348bb610af161e3acb61be5e698 (patch)
treeb32431983786e09615c2206f6851488e211c7724 /atspi/atspi-stateset.h
parent324fb3422c5fd8f96cae51d4f37812eee33078de (diff)
downloadat-spi2-core-6581952c14635348bb610af161e3acb61be5e698.tar.gz
Add G_BEGIN_DECLS and G_END_DECLS macros for prototypes to fix c++ linkage
Diffstat (limited to 'atspi/atspi-stateset.h')
-rw-r--r--atspi/atspi-stateset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/atspi/atspi-stateset.h b/atspi/atspi-stateset.h
index 69d6ff70..f6fd32f0 100644
--- a/atspi/atspi-stateset.h
+++ b/atspi/atspi-stateset.h
@@ -32,6 +32,8 @@
#define ATSPI_IS_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_STATE_SET))
#define ATSPI_STATE_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
+G_BEGIN_DECLS
+
typedef struct _AtspiStateSet AtspiStateSet;
struct _AtspiStateSet
{
@@ -68,4 +70,6 @@ void atspi_state_set_remove (AtspiStateSet *set, AtspiStateType state);
AtspiStateSet * _atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states);
+G_END_DECLS
+
#endif /* _ATSPI_STATE_SET_H_ */