summaryrefslogtreecommitdiff
path: root/atk/atknoopobject.h
diff options
context:
space:
mode:
authorBrian Cameron <bcameron@src.gnome.org>2001-06-20 15:43:14 +0000
committerBrian Cameron <bcameron@src.gnome.org>2001-06-20 15:43:14 +0000
commit29c7e78f062439a1caff148ccd894f0eae2bbe3a (patch)
treeccd2e6dca13db3b968d29db7cbb2dc8ce3306aea /atk/atknoopobject.h
parent5fc59ecfde8879f0305b49ae6d371fc1964803e9 (diff)
downloadatk-29c7e78f062439a1caff148ccd894f0eae2bbe3a.tar.gz
atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer
G_{BEGIN,END}_DECLS.
Diffstat (limited to 'atk/atknoopobject.h')
-rw-r--r--atk/atknoopobject.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/atk/atknoopobject.h b/atk/atknoopobject.h
index 0a12fe9..3c4e432 100644
--- a/atk/atknoopobject.h
+++ b/atk/atknoopobject.h
@@ -20,10 +20,7 @@
#ifndef __ATK_NO_OP_OBJECT_H__
#define __ATK_NO_OP_OBJECT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define ATK_TYPE_NO_OP_OBJECT (atk_no_op_object_get_type ())
#define ATK_NO_OP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_NO_OP_OBJECT, AtkNoOpObject))
@@ -40,7 +37,7 @@ struct _AtkNoOpObject
AtkObject parent;
};
-GType agtk_widget_get_type (void);
+GType atk_no_op_object_get_type (void);
struct _AtkNoOpObjectClass
{
@@ -49,9 +46,6 @@ struct _AtkNoOpObjectClass
AtkObject *atk_no_op_object_new (GObject *obj);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __ATK_NO_OP_OBJECT_H__ */