diff options
Diffstat (limited to 'atk/atkselection.h')
-rwxr-xr-x | atk/atkselection.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/atk/atkselection.h b/atk/atkselection.h index 7b16930..9a0050f 100755 --- a/atk/atkselection.h +++ b/atk/atkselection.h @@ -17,14 +17,16 @@ * 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_SELECTION_H__ #define __ATK_SELECTION_H__ #include <atk/atkobject.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS /* * This AtkSelection interface provides the standard mechanism for an @@ -88,9 +90,6 @@ gboolean atk_selection_remove_selection (AtkSelection *selection, gboolean atk_selection_select_all_selection (AtkSelection *selection); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __ATK_SELECTION_H__ */ |