svn path=/trunk/; revision=5765
This commit is contained in:
Matthias Clasen 2007-09-16 16:43:58 +00:00
parent 2df6612967
commit 30e729d9b2
4 changed files with 18 additions and 32 deletions

View File

@ -232,13 +232,11 @@ than to write one yourself using g_enum_register_static().
</para> </para>
@name: A nul-terminated string used as the name of the new type. @name: A nul-terminated string used as the name of the new type.
@_static_values:
@Returns: The new type identifier.
<!-- # Unused Parameters # -->
@const_static_values: An array of #GEnumValue structs for the possible @const_static_values: An array of #GEnumValue structs for the possible
enumeration values. The array is terminated by a struct with all enumeration values. The array is terminated by a struct with all
members being 0. GObject keeps a reference to the data, so it cannot members being 0. GObject keeps a reference to the data, so it cannot
be stack-allocated. be stack-allocated.
@Returns: The new type identifier.
<!-- ##### FUNCTION g_flags_register_static ##### --> <!-- ##### FUNCTION g_flags_register_static ##### -->
@ -252,12 +250,10 @@ than to write one yourself using g_flags_register_static().
</para> </para>
@name: A nul-terminated string used as the name of the new type. @name: A nul-terminated string used as the name of the new type.
@_static_values:
@Returns: The new type identifier.
<!-- # Unused Parameters # -->
@const_static_values: An array of #GFlagsValue structs for the possible @const_static_values: An array of #GFlagsValue structs for the possible
flags values. The array is terminated by a struct with all members being 0. flags values. The array is terminated by a struct with all members being 0.
GObject keeps a reference to the data, so it cannot be stack-allocated. GObject keeps a reference to the data, so it cannot be stack-allocated.
@Returns: The new type identifier.
<!-- ##### FUNCTION g_enum_complete_type_info ##### --> <!-- ##### FUNCTION g_enum_complete_type_info ##### -->
@ -286,8 +282,6 @@ my_enum_complete_type_info (GTypePlugin *plugin,
@g_enum_type: the type identifier of the type being completed @g_enum_type: the type identifier of the type being completed
@info: the #GTypeInfo struct to be filled in @info: the #GTypeInfo struct to be filled in
@_values:
<!-- # Unused Parameters # -->
@const_values: An array of #GEnumValue structs for the possible @const_values: An array of #GEnumValue structs for the possible
enumeration values. The array is terminated by a struct with all enumeration values. The array is terminated by a struct with all
members being 0. members being 0.
@ -302,8 +296,6 @@ g_enumeration_complete_type_info() above.
@g_flags_type: the type identifier of the type being completed @g_flags_type: the type identifier of the type being completed
@info: the #GTypeInfo struct to be filled in @info: the #GTypeInfo struct to be filled in
@_values:
<!-- # Unused Parameters # -->
@const_values: An array of #GFlagsValue structs for the possible @const_values: An array of #GFlagsValue structs for the possible
enumeration values. The array is terminated by a struct with all enumeration values. The array is terminated by a struct with all
members being 0. members being 0.

View File

@ -149,8 +149,12 @@ can be configured.
parameter is guaranteed to remain valid and parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter. unmodified for the lifetime of the parameter.
Since 2.8 Since 2.8
@G_PARAM_PRIVATE: @G_PARAM_PRIVATE: Old name for the %G_PARAM_STATIC_NAME flag.
@G_PARAM_STATIC_NICK: Deprecated since 2.8.
@G_PARAM_STATIC_NICK: the string used as nick when constructing the
parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter.
Since 2.8
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the @G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
parameter is guaranteed to remain valid and parameter is guaranteed to remain valid and
unmodified for the lifetime of the parameter. unmodified for the lifetime of the parameter.

View File

@ -1630,19 +1630,13 @@ instance and class structure and the definitions of the instance and class
init functions. init functions.
</informalexample> </informalexample>
@TN: @TN: The name of the new type, in Camel case.
@t_n: @t_n: The name of the new type, in lowercase, with words
@T_P:
@_f_:
@_C_:
@Since: 2.4
<!-- # Unused Parameters # -->
@TypeName: The name of the new type, in Camel case.
@type_name: The name of the new type, in lowercase, with words
separated by '_'. separated by '_'.
@TYPE_PARENT: The #GType of the parent type. @T_P: The #GType of the parent type.
@flags: #GTypeFlags to pass to g_type_register_static() @_f_: #GTypeFlags to pass to g_type_register_static()
@CODE: Custom code that gets inserted in the *_get_type() function. @_C_: Custom code that gets inserted in the *_get_type() function.
@Since: 2.4
<!-- ##### MACRO G_TYPE_INVALID ##### --> <!-- ##### MACRO G_TYPE_INVALID ##### -->

View File

@ -164,13 +164,11 @@ not be unloaded.
@module: a #GTypeModule @module: a #GTypeModule
@name: name for the type @name: name for the type
@_static_values:
@Returns: the new or existing type ID
@Since: 2.6
<!-- # Unused Parameters # -->
@const_static_values: an array of #GEnumValue structs for the possible @const_static_values: an array of #GEnumValue structs for the possible
enumeration values. The array is terminated by a struct with all enumeration values. The array is terminated by a struct with all
members being 0. members being 0.
@Returns: the new or existing type ID
@Since: 2.6
<!-- ##### FUNCTION g_type_module_register_flags ##### --> <!-- ##### FUNCTION g_type_module_register_flags ##### -->
@ -187,13 +185,11 @@ not be unloaded.
@module: a #GTypeModule @module: a #GTypeModule
@name: name for the type @name: name for the type
@_static_values:
@Returns: the new or existing type ID
@Since: 2.6
<!-- # Unused Parameters # -->
@const_static_values: an array of #GFlagsValue structs for the possible @const_static_values: an array of #GFlagsValue structs for the possible
flags values. The array is terminated by a struct with all flags values. The array is terminated by a struct with all
members being 0. members being 0.
@Returns: the new or existing type ID
@Since: 2.6
<!-- ##### MACRO G_DEFINE_DYNAMIC_TYPE ##### --> <!-- ##### MACRO G_DEFINE_DYNAMIC_TYPE ##### -->