*
* Checks whether a valid #GTypeInstance pointer is of type %G_TYPE_OBJECT.
*/
+#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_42
+#define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE ((object), G_TYPE_OBJECT))
+#else
#define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_OBJECT))
+#endif
/**
* G_IS_OBJECT_CLASS:
* @class: a #GObjectClass
/**
* GObject:
*
- * All the fields in the <structname>GObject</structname> structure are private
+ * All the fields in the GObject structure are private
* to the #GObject implementation and should never be accessed directly.
*/
struct _GObject
* should chain up to the @constructed call of their parent class to allow it
* to complete its initialisation.
*
- * The class structure for the <structname>GObject</structname> type.
+ * The class structure for the GObject type.
*
* <example>
* <title>Implementing singletons using a constructor</title>
* @pspec: the #GParamSpec of the construct parameter
* @value: the value to set the parameter to
*
- * The <structname>GObjectConstructParam</structname> struct is an auxiliary
+ * The GObjectConstructParam struct is an auxiliary
* structure used to hand #GParamSpec/#GValue pairs to the @constructor of
* a #GObjectClass.
*/
/**
* GInitiallyUnowned:
*
- * All the fields in the <structname>GInitiallyUnowned</structname> structure
+ * All the fields in the GInitiallyUnowned structure
* are private to the #GInitiallyUnowned implementation and should never be
* accessed directly.
*/
/**
* GInitiallyUnownedClass:
*
- * The class structure for the <structname>GInitiallyUnowned</structname> type.
+ * The class structure for the GInitiallyUnowned type.
*/