[at-spi2-core] Add G_BEGIN_DECLS and G_END_DECLS macros for prototypes to fix c++ linkage



commit 6581952c14635348bb610af161e3acb61be5e698
Author: Mike Gorse <mgorse suse com>
Date:   Mon May 21 17:40:11 2012 -0500

    Add G_BEGIN_DECLS and G_END_DECLS macros for prototypes to fix c++ linkage

 atspi/atspi-accessible.h              |    5 +++++
 atspi/atspi-action.h                  |    4 ++++
 atspi/atspi-application.h             |    4 ++++
 atspi/atspi-collection.h              |    4 ++++
 atspi/atspi-component.h               |    5 +++++
 atspi/atspi-device-listener-private.h |    5 +++++
 atspi/atspi-device-listener.h         |    5 +++++
 atspi/atspi-document.h                |    4 ++++
 atspi/atspi-editabletext.h            |    4 ++++
 atspi/atspi-event-listener-private.h  |    5 +++++
 atspi/atspi-event-listener.h          |    5 +++++
 atspi/atspi-gmain.h                   |    5 +++++
 atspi/atspi-hyperlink.h               |    4 ++++
 atspi/atspi-hypertext.h               |    4 ++++
 atspi/atspi-image.h                   |    5 +++++
 atspi/atspi-matchrule-private.h       |    4 ++++
 atspi/atspi-matchrule.h               |    4 ++++
 atspi/atspi-misc-private.h            |    5 +++++
 atspi/atspi-misc.h                    |    5 +++++
 atspi/atspi-object.h                  |    5 +++++
 atspi/atspi-registry.h                |    4 ++++
 atspi/atspi-relation.h                |    5 +++++
 atspi/atspi-selection.h               |    4 ++++
 atspi/atspi-stateset.h                |    4 ++++
 atspi/atspi-table.h                   |    4 ++++
 atspi/atspi-text.h                    |    5 +++++
 atspi/atspi-value.h                   |    4 ++++
 27 files changed, 121 insertions(+), 0 deletions(-)
---
diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h
index f537a1f..428967e 100644
--- a/atspi/atspi-accessible.h
+++ b/atspi/atspi-accessible.h
@@ -26,6 +26,8 @@
 #ifndef _ATSPI_ACCESSIBLE_H_
 #define _ATSPI_ACCESSIBLE_H_
 
+G_BEGIN_DECLS
+
 #include "glib-object.h"
 
 #include "atspi-application.h"
@@ -140,4 +142,7 @@ guint atspi_accessible_get_process_id (AtspiAccessible *accessible, GError **err
 void _atspi_accessible_add_cache (AtspiAccessible *accessible, AtspiCache flag);
 AtspiCache _atspi_accessible_get_cache_mask (AtspiAccessible *accessible);
 gboolean _atspi_accessible_test_cache (AtspiAccessible *accessible, AtspiCache flag);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_ACCESSIBLE_H_ */
diff --git a/atspi/atspi-action.h b/atspi/atspi-action.h
index e918414..c41b069 100644
--- a/atspi/atspi-action.h
+++ b/atspi/atspi-action.h
@@ -31,6 +31,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_ACTION                    (atspi_action_get_type ())
 #define ATSPI_IS_ACTION(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_ACTION)
 #define ATSPI_ACTION(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_ACTION, AtspiAction)
@@ -53,4 +55,6 @@ gchar * atspi_action_get_name (AtspiAction *obj, gint i, GError **error);
 
 gboolean atspi_action_do_action (AtspiAction *obj, gint i, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_ACTION_H_ */
diff --git a/atspi/atspi-application.h b/atspi/atspi-application.h
index 2627038..a2cc2e4 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_ */
diff --git a/atspi/atspi-collection.h b/atspi/atspi-collection.h
index b4e4e9d..2ba9361 100644
--- a/atspi/atspi-collection.h
+++ b/atspi/atspi-collection.h
@@ -33,6 +33,8 @@
 #include "atspi-types.h"
 #include "atspi-matchrule.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_COLLECTION                    (atspi_collection_get_type ())
 #define ATSPI_IS_COLLECTION(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_COLLECTION)
 #define ATSPI_COLLECTION(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_COLLECTION, AtspiCollection)
@@ -55,4 +57,6 @@ GArray * atspi_collection_get_matches_from (AtspiCollection *collection, AtspiAc
 
 AtspiAccessible * atspi_collection_get_active_descendant (AtspiCollection *collection, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_COLLECTION_H_ */
diff --git a/atspi/atspi-component.h b/atspi/atspi-component.h
index c94147c..dd3455a 100644
--- a/atspi/atspi-component.h
+++ b/atspi/atspi-component.h
@@ -31,6 +31,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 typedef struct _AtspiRect AtspiRect;
 struct _AtspiRect
 {
@@ -104,4 +106,7 @@ gboolean atspi_component_set_extents (AtspiComponent *obj, gint x, gint y, gint
 gboolean atspi_component_set_position (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
 
 gboolean atspi_component_set_size (AtspiComponent *obj, gint width, gint height, GError **error);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_COMPONENT_H_ */
diff --git a/atspi/atspi-device-listener-private.h b/atspi/atspi-device-listener-private.h
index 471ca7a..1089e45 100644
--- a/atspi/atspi-device-listener-private.h
+++ b/atspi/atspi-device-listener-private.h
@@ -29,7 +29,12 @@
 
 #include "dbus/dbus.h"
 
+G_BEGIN_DECLS
+
 DBusHandlerResult _atspi_dbus_handle_DeviceEvent (DBusConnection *bus, DBusMessage *message, void *data);
 
 gchar *_atspi_device_listener_get_path (AtspiDeviceListener *listener);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_DEVICE_LISTENER_H_ */
diff --git a/atspi/atspi-device-listener.h b/atspi/atspi-device-listener.h
index 2e785d1..93b6072 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_ */
diff --git a/atspi/atspi-document.h b/atspi/atspi-document.h
index afe7969..85ba338 100644
--- a/atspi/atspi-document.h
+++ b/atspi/atspi-document.h
@@ -31,6 +31,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_DOCUMENT                    (atspi_document_get_type ())
 #define ATSPI_IS_DOCUMENT(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_DOCUMENT)
 #define ATSPI_DOCUMENT(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_DOCUMENT, AtspiDocument)
@@ -49,4 +51,6 @@ gchar * atspi_document_get_attribute_value (AtspiDocument *obj, gchar *attribute
 
 GHashTable * atspi_document_get_attributes (AtspiDocument *obj, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_DOCUMENT_H_ */
diff --git a/atspi/atspi-editabletext.h b/atspi/atspi-editabletext.h
index e7356c6..59b2331 100644
--- a/atspi/atspi-editabletext.h
+++ b/atspi/atspi-editabletext.h
@@ -31,6 +31,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_EDITABLE_TEXT                    (atspi_editable_text_get_type ())
 #define ATSPI_IS_EDITABLE_TEXT(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_EDITABLE_TEXT)
 #define ATSPI_EDITABLE_TEXT(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_EDITABLE_TEXT, AtspiEditableText)
@@ -59,4 +61,6 @@ gboolean atspi_editable_text_delete_text (AtspiEditableText *obj, gint start_pos
 
 gboolean atspi_editable_text_paste_text (AtspiEditableText *obj, gint position, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_EDITABLE_TEXT_H_ */
diff --git a/atspi/atspi-event-listener-private.h b/atspi/atspi-event-listener-private.h
index 1bf527d..0b29111 100644
--- a/atspi/atspi-event-listener-private.h
+++ b/atspi/atspi-event-listener-private.h
@@ -30,9 +30,14 @@
 
 #include "dbus/dbus.h"
 
+G_BEGIN_DECLS
+
 DBusHandlerResult _atspi_dbus_handle_Event (DBusConnection *bus, DBusMessage *message, void *data);
 
 void _atspi_send_event (AtspiEvent *e);
 
 DBusHandlerResult _atspi_dbus_handle_event (DBusConnection *bus, DBusMessage *message, void *data);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_EVENT_LISTENER_H_ */
diff --git a/atspi/atspi-event-listener.h b/atspi/atspi-event-listener.h
index ec46bcd..99f3ca1 100644
--- a/atspi/atspi-event-listener.h
+++ b/atspi/atspi-event-listener.h
@@ -30,6 +30,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 GType atspi_event_get_type (void);
 
 /**
@@ -118,4 +120,7 @@ gboolean
 atspi_event_listener_deregister_no_data (AtspiEventListenerSimpleCB callback,
 				   const gchar              *event_type,
 				   GError **error);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_EVENT_LISTENER_H_ */
diff --git a/atspi/atspi-gmain.h b/atspi/atspi-gmain.h
index 2958bfa..8e2396c 100644
--- a/atspi/atspi-gmain.h
+++ b/atspi/atspi-gmain.h
@@ -24,6 +24,8 @@
 #ifndef _ATSPI_GMAIN_H
 #define _ATSPI_GMAIN_H
 
+G_BEGIN_DECLS
+
 void
 atspi_dbus_connection_setup_with_g_main (DBusConnection *connection,
 				   GMainContext   *context);
@@ -31,4 +33,7 @@ atspi_dbus_connection_setup_with_g_main (DBusConnection *connection,
 void
 atspi_dbus_server_setup_with_g_main (DBusServer   *server,
                                GMainContext *context);
+
+G_END_DECLS
+
 #endif
diff --git a/atspi/atspi-hyperlink.h b/atspi/atspi-hyperlink.h
index 2ef6058..86efa7b 100644
--- a/atspi/atspi-hyperlink.h
+++ b/atspi/atspi-hyperlink.h
@@ -33,6 +33,8 @@
 #include "atspi-text.h"	/* for AtspiRange */
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_HYPERLINK                        (atspi_hyperlink_get_type ())
 #define ATSPI_HYPERLINK(obj)                        (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_HYPERLINK, AtspiHyperlink))
 #define ATSPI_HYPERLINK_CLASS(klass)                (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_HYPERLINK, AtspiHyperlinkClass))
@@ -70,4 +72,6 @@ gint atspi_hyperlink_get_end_index (AtspiHyperlink *obj, GError **error);
 
 gboolean atspi_hyperlink_is_valid (AtspiHyperlink *obj, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_HYPERLINK_H_ */
diff --git a/atspi/atspi-hypertext.h b/atspi/atspi-hypertext.h
index bdd1718..bebcf51 100644
--- a/atspi/atspi-hypertext.h
+++ b/atspi/atspi-hypertext.h
@@ -32,6 +32,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_HYPERTEXT                    (atspi_hypertext_get_type ())
 #define ATSPI_IS_HYPERTEXT(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_HYPERTEXT)
 #define ATSPI_HYPERTEXT(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_HYPERTEXT, AtspiHypertext)
@@ -50,4 +52,6 @@ AtspiHyperlink * atspi_hypertext_get_link (AtspiHypertext *obj, gint link_index,
 
 gint atspi_hypertext_get_link_index (AtspiHypertext *obj, gint             character_offset, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_HYPERTEXT_H_ */
diff --git a/atspi/atspi-image.h b/atspi/atspi-image.h
index 4a9bb8c..3fa40ef 100644
--- a/atspi/atspi-image.h
+++ b/atspi/atspi-image.h
@@ -32,6 +32,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_IMAGE                    (atspi_image_get_type ())
 #define ATSPI_IS_IMAGE(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_IMAGE)
 #define ATSPI_IMAGE(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_IMAGE, AtspiImage)
@@ -53,4 +55,7 @@ AtspiPoint * atspi_image_get_image_position (AtspiImage *obj, AtspiCoordType cty
 AtspiRect * atspi_image_get_image_extents (AtspiImage *obj, AtspiCoordType ctype, GError **error);
 
 gchar * atspi_image_get_image_locale  (AtspiImage *obj, GError **error);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_IMAGE_H_ */
diff --git a/atspi/atspi-matchrule-private.h b/atspi/atspi-matchrule-private.h
index 169e539..e55c2fa 100644
--- a/atspi/atspi-matchrule-private.h
+++ b/atspi/atspi-matchrule-private.h
@@ -31,7 +31,11 @@
 #include "atspi-matchrule.h"
 #include "dbus/dbus.h"
 
+G_BEGIN_DECLS
+
 gboolean
 _atspi_match_rule_marshal (AtspiMatchRule *rule, DBusMessageIter *iter);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_MATCH_RULE_PRIVATE_H_ */
diff --git a/atspi/atspi-matchrule.h b/atspi/atspi-matchrule.h
index f536286..0a006d0 100644
--- a/atspi/atspi-matchrule.h
+++ b/atspi/atspi-matchrule.h
@@ -32,6 +32,8 @@
 #include "atspi-constants.h"
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_MATCH_RULE                        (atspi_match_rule_get_type ())
 #define ATSPI_MATCH_RULE(obj)                        (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_MATCH_RULE, AtspiMatchRule))
 #define ATSPI_MATCH_RULE_CLASS(klass)                (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_MATCH_RULE, AtspiMatchRuleClass))
@@ -73,4 +75,6 @@ atspi_match_rule_new (AtspiStateSet *states,
                       AtspiCollectionMatchType interfacematchtype,
                       gboolean invert);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_MATCH_RULE_H_ */
diff --git a/atspi/atspi-misc-private.h b/atspi/atspi-misc-private.h
index f559036..e00df3f 100644
--- a/atspi/atspi-misc-private.h
+++ b/atspi/atspi-misc-private.h
@@ -36,6 +36,8 @@
 
 #include "dbind/dbind.h"
 
+G_BEGIN_DECLS
+
 typedef struct _AtspiReference AtspiReference;
 struct _AtspiReference
 {
@@ -154,4 +156,7 @@ typedef enum
 
 extern GMainLoop *atspi_main_loop;
 extern gboolean atspi_no_cache;
+
+G_END_DECLS
+
 #endif	/* _ATSPI_MISC_PRIVATE_H_ */
diff --git a/atspi/atspi-misc.h b/atspi/atspi-misc.h
index be550c1..c63ef80 100644
--- a/atspi/atspi-misc.h
+++ b/atspi/atspi-misc.h
@@ -26,6 +26,8 @@
 #ifndef _ATSPI_MISC_H_
 #define _ATSPI_MISC_H_
 
+G_BEGIN_DECLS
+
 int atspi_init (void);
 
 void atspi_event_main ();
@@ -39,4 +41,7 @@ atspi_get_a11y_bus ();
 
 void
 atspi_set_timeout (gint val, gint startup_time);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_MISC_H_ */
diff --git a/atspi/atspi-object.h b/atspi/atspi-object.h
index b4dfa1f..69dd551 100644
--- a/atspi/atspi-object.h
+++ b/atspi/atspi-object.h
@@ -30,6 +30,8 @@
 #include "atspi-application.h"
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_OBJECT                        (atspi_object_get_type ())
 #define ATSPI_OBJECT(obj)                        (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_OBJECT, AtspiObject))
 #define ATSPI_OBJECT_CLASS(klass)                (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_OBJECT, AtspiObjectClass))
@@ -52,4 +54,7 @@ struct _AtspiObjectClass
 };
 
 GType atspi_object_get_type (void); 
+
+G_END_DECLS
+
 #endif	/* _ATSPI_OBJECT_H_ */
diff --git a/atspi/atspi-registry.h b/atspi/atspi-registry.h
index 03086dc..3716f61 100644
--- a/atspi/atspi-registry.h
+++ b/atspi/atspi-registry.h
@@ -29,6 +29,8 @@
 #include "atspi-types.h"
 #include "atspi-device-listener.h"
 
+G_BEGIN_DECLS
+
 GType atspi_key_definition_get_type ();
 
 gint atspi_get_desktop_count ();
@@ -68,4 +70,6 @@ atspi_generate_keyboard_event (glong keyval,
 gboolean
 atspi_generate_mouse_event (glong x, glong y, const gchar *name, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_REGISTRY_H_ */
diff --git a/atspi/atspi-relation.h b/atspi/atspi-relation.h
index 071e912..4eecad3 100644
--- a/atspi/atspi-relation.h
+++ b/atspi/atspi-relation.h
@@ -30,6 +30,8 @@
 
 #include "atspi-constants.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_RELATION                    (atspi_relation_get_type ())
 #define ATSPI_IS_RELATION(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_RELATION)
 #define ATSPI_RELATION(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_RELATION, AtspiRelation)
@@ -59,4 +61,7 @@ AtspiAccessible * atspi_relation_get_target (AtspiRelation *obj, gint i);
 
 /* private */
 AtspiRelation * _atspi_relation_new_from_iter (DBusMessageIter *iter);
+
+G_END_DECLS
+
 #endif	/* _ATSPI_RELATION_H_ */
diff --git a/atspi/atspi-selection.h b/atspi/atspi-selection.h
index 9e0b26c..8ac7e44 100644
--- a/atspi/atspi-selection.h
+++ b/atspi/atspi-selection.h
@@ -32,6 +32,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_SELECTION                    (atspi_selection_get_type ())
 #define ATSPI_IS_SELECTION(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_SELECTION)
 #define ATSPI_SELECTION(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_SELECTION, AtspiSelection)
@@ -62,4 +64,6 @@ gboolean atspi_selection_select_all (AtspiSelection *obj, GError **error);
 
 gboolean atspi_selection_clear_selection (AtspiSelection *obj, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_SELECTION_H_ */
diff --git a/atspi/atspi-stateset.h b/atspi/atspi-stateset.h
index 69d6ff7..f6fd32f 100644
--- a/atspi/atspi-stateset.h
+++ b/atspi/atspi-stateset.h
@@ -32,6 +32,8 @@
 #define ATSPI_IS_STATE_SET_CLASS(klass)             (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_STATE_SET))
 #define ATSPI_STATE_SET_GET_CLASS(obj)              (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
 
+G_BEGIN_DECLS
+
 typedef struct _AtspiStateSet AtspiStateSet;
 struct _AtspiStateSet
 {
@@ -68,4 +70,6 @@ void atspi_state_set_remove (AtspiStateSet *set, AtspiStateType state);
 
 AtspiStateSet * _atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_STATE_SET_H_ */
diff --git a/atspi/atspi-table.h b/atspi/atspi-table.h
index 02d028d..1295df1 100644
--- a/atspi/atspi-table.h
+++ b/atspi/atspi-table.h
@@ -32,6 +32,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_TABLE                    (atspi_table_get_type ())
 #define ATSPI_IS_TABLE(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_TABLE)
 #define ATSPI_TABLE(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_TABLE, AtspiTable)
@@ -98,4 +100,6 @@ gboolean atspi_table_get_row_column_extents_at_index (AtspiTable *obj, gint inde
 
 gboolean atspi_table_is_selected (AtspiTable *obj, gint row, gint column, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_TABLE_H_ */
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h
index c39e071..21e2db3 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_ */
diff --git a/atspi/atspi-value.h b/atspi/atspi-value.h
index cb3ebf6..6a1e531 100644
--- a/atspi/atspi-value.h
+++ b/atspi/atspi-value.h
@@ -32,6 +32,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 #define ATSPI_TYPE_VALUE                    (atspi_value_get_type ())
 #define ATSPI_IS_VALUE(obj)                 G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_VALUE)
 #define ATSPI_VALUE(obj)                    G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_VALUE, AtspiValue)
@@ -54,4 +56,6 @@ gboolean atspi_value_set_current_value (AtspiValue *obj, gdouble new_value, GErr
 
 gdouble atspi_value_get_minimum_increment (AtspiValue *obj, GError **error);
 
+G_END_DECLS
+
 #endif	/* _ATSPI_VALUE_H_ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]