]> Pileus Git - ~andy/gtk/commitdiff
Fix small documentation problems after the toolpalette merge
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Nov 2009 01:59:56 +0000 (20:59 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Nov 2009 01:59:56 +0000 (20:59 -0500)
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.

gtk/gtksettings.c
gtk/gtktoolitem.c

index 649348b4a4da2655c5484f649319a84815e77e6e..9e36e833337136fbb6abb31ab4a1be2463f93fe5 100644 (file)
@@ -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",
index b1eeaa400999750d85a79f6630eb8c821bbc690b..73b930ff8c0918399b9f9decd75cac75ae4d0843 100644 (file)
@@ -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)