]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/tmpl/gtktypeutils.sgml
2.9.0
[~andy/gtk] / docs / reference / gtk / tmpl / gtktypeutils.sgml
index 0915b3203b995b1152b9317cd385304a01fc88cb..99ed66cfa30194ed6d117484d2ffe015efc443ec 100644 (file)
@@ -15,6 +15,9 @@ managed at runtime.
 
 </para>
 
+<!-- ##### SECTION Stability_Level ##### -->
+
+
 <!-- ##### TYPEDEF GtkType ##### -->
 <para>
 #GtkType is unique integer identifying the type.  The guts of the
@@ -37,6 +40,7 @@ Returns the type name of @class.
 </para>
 
 @class: a #GtkTypeClass.
+@Deprecated: Use g_type_name() and G_TYPE_FROM_CLASS() instead.
 
 
 <!-- ##### MACRO GTK_CLASS_TYPE ##### -->
@@ -45,6 +49,7 @@ Returns the type of @class.
 </para>
 
 @class: a #GtkTypeClass.
+@Deprecated: Use G_TYPE_FROM_CLASS() instead.
 
 
 <!-- ##### MACRO GTK_TYPE_IS_OBJECT ##### -->
@@ -53,6 +58,7 @@ Returns %TRUE if @type is a %GTK_TYPE_OBJECT.
 </para>
 
 @type: a #GtkType.
+@Deprecated: Use G_TYPE_IS_OBJECT() instead.
 
 
 <!-- ##### MACRO GTK_TYPE_FUNDAMENTAL_LAST ##### -->
@@ -60,6 +66,7 @@ Returns %TRUE if @type is a %GTK_TYPE_OBJECT.
 The highest-numbered structured or flat enumerated type value.
 </para>
 
+@Deprecated: Use #G_TYPE_LAST_RESERVED_FUNDAMENTAL - 1 instead.
 
 
 <!-- ##### MACRO GTK_TYPE_FUNDAMENTAL_MAX ##### -->
@@ -67,6 +74,7 @@ The highest-numbered structured or flat enumerated type value.
 The maximum fundamental enumerated type value.
 </para>
 
+@Deprecated: Use #G_TYPE_FUNDAMENTAL_MAX instead.
 
 
 <!-- ##### MACRO GTK_STRUCT_OFFSET ##### -->
@@ -74,9 +82,7 @@ The maximum fundamental enumerated type value.
 Use in place of <function>offsetof()</function>, which is used if it exists.
 </para>
 
-<!-- # Unused Parameters # -->
-@struct: The type of the structure.
-@field: The field within the structure.
+@Deprecated: Use G_STRUCT_OFFSET() instead.
 
 
 <!-- ##### MACRO GTK_CHECK_CAST ##### -->
@@ -86,10 +92,6 @@ defined, just cast it.  Otherwise, check to see if we can cast @tobj
 into a @cast.
 </para>
 
-<!-- # Unused Parameters # -->
-@tobj: a #GtkObject.
-@cast_type: a GTK+ type.
-@cast: a C type
 
 
 <!-- ##### MACRO GTK_CHECK_CLASS_CAST ##### -->
@@ -112,7 +114,6 @@ Determines whether @type_object is a type of @otype.
 
 <!-- # Unused Parameters # -->
 @type_object: a #GtkTypeObject object
-@otype: 
 
 
 <!-- ##### MACRO GTK_CHECK_CLASS_TYPE ##### -->
@@ -122,7 +123,6 @@ Determines whether @type_class is a type of @otype.
 
 <!-- # Unused Parameters # -->
 @type_class: a #GtkTypeClass class.
-@otype: 
 
 
 <!-- ##### MACRO GTK_CHECK_GET_CLASS ##### -->
@@ -139,8 +139,6 @@ Gets the class of @tobj.
 Converts a GTK+ type into a fundamental type.
 </para>
 
-<!-- # Unused Parameters # -->
-@type: 
 
 
 <!-- ##### MACRO GTK_SIGNAL_FUNC ##### -->
@@ -496,7 +494,7 @@ The base structure for a GTK+ type. Every type inherits this as a base structure
 
 <!-- ##### TYPEDEF GtkEnumValue ##### -->
 <para>
-A structure which contains a single enum value, and its name, and it's
+A structure which contains a single enum value, and its name, and its
 nickname.
 </para>