summaryrefslogtreecommitdiff
path: root/gtk/gtkaccessible.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkaccessible.h')
-rw-r--r--gtk/gtkaccessible.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/gtkaccessible.h b/gtk/gtkaccessible.h
index 853e657b19..ca8645be6a 100644
--- a/gtk/gtkaccessible.h
+++ b/gtk/gtkaccessible.h
@@ -23,9 +23,7 @@
#include <atk/atk.h>
#include <gtk/gtkwidget.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type ())
#define GTK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible))
@@ -69,10 +67,7 @@ GType gtk_accessible_get_type (void) G_GNUC_CONST;
void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GTK_ACCESSIBLE_H__ */