From 29c7e78f062439a1caff148ccd894f0eae2bbe3a Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 20 Jun 2001 15:43:14 +0000 Subject: [PATCH] atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer G_{BEGIN,END}_DECLS. --- ChangeLog | 5 +++++ atk/atknoopobject.h | 12 +++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 344424f..3abd4a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-06-20 Peter Williams + * atk/atknoopobject.h: Correct prototype name: agtk_widget_get_type -> + atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer + G_{BEGIN,END}_DECLS. + 2001-06-20 Brian Cameron * atk/atktable.c, atk/atkmarshal.list Removed needless marshal and updated signal handlers in 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__ */ -- 2.7.4