summaryrefslogtreecommitdiff
path: root/atspi/atspi-collection.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-collection.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-collection.h')
-rw-r--r--atspi/atspi-collection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/atspi/atspi-collection.h b/atspi/atspi-collection.h
index b4e4e9d3..2ba93614 100644
--- a/atspi/atspi-collection.h
+++ b/atspi/atspi-collection.h
@@ -33,6 +33,8 @@
#include "atspi-types.h"
#include "atspi-matchrule.h"
+G_BEGIN_DECLS
+
#define ATSPI_TYPE_COLLECTION (atspi_collection_get_type ())
#define ATSPI_IS_COLLECTION(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_COLLECTION)
#define ATSPI_COLLECTION(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_COLLECTION, AtspiCollection)
@@ -55,4 +57,6 @@ GArray * atspi_collection_get_matches_from (AtspiCollection *collection, AtspiAc
AtspiAccessible * atspi_collection_get_active_descendant (AtspiCollection *collection, GError **error);
+G_END_DECLS
+
#endif /* _ATSPI_COLLECTION_H_ */