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-application.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-application.h')
-rw-r--r-- | atspi/atspi-application.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/atspi/atspi-application.h b/atspi/atspi-application.h index 2627038c..a2cc2e43 100644 --- a/atspi/atspi-application.h +++ b/atspi/atspi-application.h @@ -30,6 +30,8 @@ #include "atspi-accessible.h" #include <sys/time.h> +G_BEGIN_DECLS + #define ATSPI_TYPE_APPLICATION (atspi_application_get_type ()) #define ATSPI_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_APPLICATION, AtspiApplication)) #define ATSPI_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_APPLICATION, AtspiAccessibleClass)) @@ -61,4 +63,6 @@ struct _AtspiApplicationClass AtspiApplication * _atspi_application_new (const char *bus_name); +G_END_DECLS + #endif /* _ATSPI_APPLICATION_H_ */ |