summaryrefslogtreecommitdiff
path: root/atk/atkimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'atk/atkimage.h')
-rwxr-xr-xatk/atkimage.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/atk/atkimage.h b/atk/atkimage.h
index 7e60c81..dd45916 100755
--- a/atk/atkimage.h
+++ b/atk/atkimage.h
@@ -17,15 +17,17 @@
* Boston, MA 02111-1307, USA.
*/
+#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
+#error "Only <atk/atk.h> can be included directly."
+#endif
+
#ifndef __ATK_IMAGE_H__
#define __ATK_IMAGE_H__
#include <atk/atkobject.h>
#include <atk/atkutil.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/*
* The AtkImage interface should be supported by any object that has an
@@ -80,7 +82,6 @@ void atk_image_get_image_position (AtkImage *image,
G_CONST_RETURN gchar* atk_image_get_image_locale (AtkImage *image);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
+
#endif /* __ATK_IMAGE_H__ */