summaryrefslogtreecommitdiff
path: root/atspi/atspi-component.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-component.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-component.h')
-rw-r--r--atspi/atspi-component.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/atspi/atspi-component.h b/atspi/atspi-component.h
index c94147ce..dd3455a5 100644
--- a/atspi/atspi-component.h
+++ b/atspi/atspi-component.h
@@ -31,6 +31,8 @@
#include "atspi-types.h"
+G_BEGIN_DECLS
+
typedef struct _AtspiRect AtspiRect;
struct _AtspiRect
{
@@ -104,4 +106,7 @@ gboolean atspi_component_set_extents (AtspiComponent *obj, gint x, gint y, gint
gboolean atspi_component_set_position (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
gboolean atspi_component_set_size (AtspiComponent *obj, gint width, gint height, GError **error);
+
+G_END_DECLS
+
#endif /* _ATSPI_COMPONENT_H_ */