Fix small documentation problems after the toolpalette merge
Several Since tags were wrong. Spotted by Christian Persch in bug 603268.
This commit is contained in:
@ -974,8 +974,6 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
||||
* GtkSettings:toolbar-style:
|
||||
*
|
||||
* The size of icons in default toolbars.
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
result = settings_install_property_parser (class,
|
||||
g_param_spec_enum ("gtk-toolbar-style",
|
||||
@ -991,8 +989,6 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
||||
* GtkSettings:toolbar-icon-size:
|
||||
*
|
||||
* The size of icons in default toolbars.
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
result = settings_install_property_parser (class,
|
||||
g_param_spec_enum ("gtk-toolbar-icon-size",
|
||||
|
||||
@ -705,7 +705,7 @@ gtk_tool_item_new (void)
|
||||
|
||||
/**
|
||||
* gtk_tool_item_get_ellipsize_mode:
|
||||
* @tool_item: a #GtkToolItem:
|
||||
* @tool_item: a #GtkToolItem
|
||||
*
|
||||
* Returns the ellipsize mode used for @tool_item. Custom subclasses of
|
||||
* #GtkToolItem should call this function to find out how text should
|
||||
@ -714,7 +714,7 @@ gtk_tool_item_new (void)
|
||||
* Return value: a #PangoEllipsizeMode indicating how text in @tool_item
|
||||
* should be ellipsized.
|
||||
*
|
||||
* Since: 2.14
|
||||
* Since: 2.20
|
||||
**/
|
||||
PangoEllipsizeMode
|
||||
gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item)
|
||||
@ -865,7 +865,7 @@ gtk_tool_item_get_relief_style (GtkToolItem *tool_item)
|
||||
* Return value: a #gfloat indicating the horizontal text alignment
|
||||
* used for @tool_item
|
||||
*
|
||||
* Since: 2.14
|
||||
* Since: 2.20
|
||||
**/
|
||||
gfloat
|
||||
gtk_tool_item_get_text_alignment (GtkToolItem *tool_item)
|
||||
@ -883,7 +883,7 @@ gtk_tool_item_get_text_alignment (GtkToolItem *tool_item)
|
||||
|
||||
/**
|
||||
* gtk_tool_item_get_text_orientation:
|
||||
* @tool_item: a #GtkToolItem:
|
||||
* @tool_item: a #GtkToolItem
|
||||
*
|
||||
* Returns the text orientation used for @tool_item. Custom subclasses of
|
||||
* #GtkToolItem should call this function to find out how text should
|
||||
@ -892,8 +892,8 @@ gtk_tool_item_get_text_alignment (GtkToolItem *tool_item)
|
||||
* Return value: a #GtkOrientation indicating the text orientation
|
||||
* used for @tool_item
|
||||
*
|
||||
* Since: 2.14
|
||||
**/
|
||||
* Since: 2.20
|
||||
*/
|
||||
GtkOrientation
|
||||
gtk_tool_item_get_text_orientation (GtkToolItem *tool_item)
|
||||
{
|
||||
@ -910,15 +910,15 @@ gtk_tool_item_get_text_orientation (GtkToolItem *tool_item)
|
||||
|
||||
/**
|
||||
* gtk_tool_item_get_text_size_group:
|
||||
* @tool_item: a #GtkToolItem:
|
||||
* @tool_item: a #GtkToolItem
|
||||
*
|
||||
* Returns the size group used for labels in @tool_item. Custom subclasses of
|
||||
* #GtkToolItem should call this function and use the size group for labels.
|
||||
*
|
||||
* Return value: a #GtkSizeGroup
|
||||
*
|
||||
* Since: 2.14
|
||||
**/
|
||||
* Since: 2.20
|
||||
*/
|
||||
GtkSizeGroup *
|
||||
gtk_tool_item_get_text_size_group (GtkToolItem *tool_item)
|
||||
{
|
||||
@ -944,7 +944,7 @@ gtk_tool_item_get_text_size_group (GtkToolItem *tool_item)
|
||||
* and smaller when the toolbar gets smaller.
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
*/
|
||||
void
|
||||
gtk_tool_item_set_expand (GtkToolItem *tool_item,
|
||||
gboolean expand)
|
||||
|
||||
Reference in New Issue
Block a user