[gtk+] Fix small documentation problems after the toolpalette merge
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix small documentation problems after the toolpalette merge
- Date: Sun, 29 Nov 2009 02:02:35 +0000 (UTC)
commit d8dfad3eb93be03945f69f269fce24ff31ade406
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 28 20:59:56 2009 -0500
Fix small documentation problems after the toolpalette merge
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
gtk/gtksettings.c | 4 ----
gtk/gtktoolitem.c | 44 ++++++++++++++++++++++----------------------
2 files changed, 22 insertions(+), 26 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 649348b..9e36e83 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -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",
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index b1eeaa4..73b930f 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -705,16 +705,16 @@ 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
* be ellipsized.
- *
+ *
* 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,17 +883,17 @@ 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
* be orientated.
- *
+ *
* 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)
{
@@ -935,16 +935,16 @@ gtk_tool_item_get_text_size_group (GtkToolItem *tool_item)
/**
* gtk_tool_item_set_expand:
- * @tool_item: a #GtkToolItem
+ * @tool_item: a #GtkToolItem
* @expand: Whether @tool_item is allocated extra space
- *
+ *
* Sets whether @tool_item is allocated extra space when there
* is more room on the toolbar then needed for the items. The
* effect is that the item gets bigger when the toolbar gets bigger
* and smaller when the toolbar gets smaller.
- *
+ *
* Since: 2.4
- **/
+ */
void
gtk_tool_item_set_expand (GtkToolItem *tool_item,
gboolean expand)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]