diff options
author | Mike Gorse <mgorse@suse.com> | 2012-05-21 17:40:11 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2012-05-21 17:40:11 -0500 |
commit | 6581952c14635348bb610af161e3acb61be5e698 (patch) | |
tree | b32431983786e09615c2206f6851488e211c7724 /atspi/atspi-text.h | |
parent | 324fb3422c5fd8f96cae51d4f37812eee33078de (diff) | |
download | at-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-text.h')
-rw-r--r-- | atspi/atspi-text.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h index c39e071d..21e2db3f 100644 --- a/atspi/atspi-text.h +++ b/atspi/atspi-text.h @@ -32,6 +32,8 @@ #include "atspi-types.h" +G_BEGIN_DECLS + typedef struct _AtspiRange AtspiRange; struct _AtspiRange { @@ -122,4 +124,7 @@ gboolean atspi_text_add_selection (AtspiText *obj, gint start_offset, gint end_o gboolean atspi_text_remove_selection (AtspiText *obj, gint selection_num, GError **error); gboolean atspi_text_set_selection (AtspiText *obj, gint selection_num, gint start_offset, gint end_offset, GError **error); + +G_END_DECLS + #endif /* _ATSPI_TEXT_H_ */ |