summaryrefslogtreecommitdiff
path: root/atspi/atspi-device-listener.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-05-21 17:40:11 -0500
committerMike Gorse <mgorse@suse.com>2012-05-21 17:40:11 -0500
commit6581952c14635348bb610af161e3acb61be5e698 (patch)
treeb32431983786e09615c2206f6851488e211c7724 /atspi/atspi-device-listener.h
parent324fb3422c5fd8f96cae51d4f37812eee33078de (diff)
downloadat-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-device-listener.h')
-rw-r--r--atspi/atspi-device-listener.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/atspi/atspi-device-listener.h b/atspi/atspi-device-listener.h
index 2e785d17..93b60727 100644
--- a/atspi/atspi-device-listener.h
+++ b/atspi/atspi-device-listener.h
@@ -30,6 +30,8 @@
#include "atspi-types.h"
+G_BEGIN_DECLS
+
/**
* AtspiDeviceListenerCB:
* @stroke: (transfer full): The #AtspiDeviceEvent for which notification is
@@ -87,4 +89,7 @@ AtspiDeviceListener *atspi_device_listener_new_simple (AtspiDeviceListenerSimple
void atspi_device_listener_add_callback (AtspiDeviceListener *listener, AtspiDeviceListenerCB callback, GDestroyNotify callback_destroyed, void *user_data);
void atspi_device_listener_remove_callback (AtspiDeviceListener *listener, AtspiDeviceListenerCB callback);
+
+G_END_DECLS
+
#endif /* _ATSPI_DEVICE_LISTENER_H_ */