summaryrefslogtreecommitdiff
path: root/atspi/atspi-object.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-object.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-object.h')
-rw-r--r--atspi/atspi-object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/atspi/atspi-object.h b/atspi/atspi-object.h
index b4dfa1f3..69dd5518 100644
--- a/atspi/atspi-object.h
+++ b/atspi/atspi-object.h
@@ -30,6 +30,8 @@
#include "atspi-application.h"
#include "atspi-types.h"
+G_BEGIN_DECLS
+
#define ATSPI_TYPE_OBJECT (atspi_object_get_type ())
#define ATSPI_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_OBJECT, AtspiObject))
#define ATSPI_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_OBJECT, AtspiObjectClass))
@@ -52,4 +54,7 @@ struct _AtspiObjectClass
};
GType atspi_object_get_type (void);
+
+G_END_DECLS
+
#endif /* _ATSPI_OBJECT_H_ */