summaryrefslogtreecommitdiff
path: root/atk/atkhypertext.h
diff options
context:
space:
mode:
Diffstat (limited to 'atk/atkhypertext.h')
-rwxr-xr-xatk/atkhypertext.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/atk/atkhypertext.h b/atk/atkhypertext.h
index 18464d9..d8328a8 100755
--- a/atk/atkhypertext.h
+++ b/atk/atkhypertext.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_HYPERTEXT_H__
#define __ATK_HYPERTEXT_H__
#include <atk/atkobject.h>
#include <atk/atkhyperlink.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/*
* The AtkHypertext interface provides standard mechanisms for manipulating
@@ -71,10 +73,6 @@ gint atk_hypertext_get_n_links (AtkHypertext *hypertext);
gint atk_hypertext_get_link_index (AtkHypertext *hypertext,
gint char_index);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __ATK_HYPERTEXT_H__ */