summaryrefslogtreecommitdiff
path: root/atspi/atspi-image.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-image.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-image.h')
-rw-r--r--atspi/atspi-image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/atspi/atspi-image.h b/atspi/atspi-image.h
index 4a9bb8cc..3fa40ef0 100644
--- a/atspi/atspi-image.h
+++ b/atspi/atspi-image.h
@@ -32,6 +32,8 @@
#include "atspi-types.h"
+G_BEGIN_DECLS
+
#define ATSPI_TYPE_IMAGE (atspi_image_get_type ())
#define ATSPI_IS_IMAGE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_IMAGE)
#define ATSPI_IMAGE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_IMAGE, AtspiImage)
@@ -53,4 +55,7 @@ AtspiPoint * atspi_image_get_image_position (AtspiImage *obj, AtspiCoordType cty
AtspiRect * atspi_image_get_image_extents (AtspiImage *obj, AtspiCoordType ctype, GError **error);
gchar * atspi_image_get_image_locale (AtspiImage *obj, GError **error);
+
+G_END_DECLS
+
#endif /* _ATSPI_IMAGE_H_ */