atk_no_op_object_get_type. Change #ifdef __cplusplus mess to nicer
authorBrian Cameron <bcameron@src.gnome.org>
Wed, 20 Jun 2001 15:43:14 +0000 (15:43 +0000)
committerBrian Cameron <bcameron@src.gnome.org>
Wed, 20 Jun 2001 15:43:14 +0000 (15:43 +0000)
G_{BEGIN,END}_DECLS.

ChangeLog
atk/atknoopobject.h

index 344424f..3abd4a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-20  Peter Williams  <peterw@ximian.com>
+       * 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 <brian.cameron@sun.com>
        * atk/atktable.c, atk/atkmarshal.list
        Removed needless marshal and updated signal handlers in
index 0a12fe9..3c4e432 100644 (file)
 #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__ */