docs: Fix method names in GMenu and GMenuModel

This commit is contained in:
David King 2012-02-19 16:37:55 +00:00 committed by Ryan Lortie
parent 43a3a5edfc
commit e70b72f5a1
2 changed files with 8 additions and 9 deletions

View File

@ -391,7 +391,7 @@ g_menu_append_section (GMenu *menu,
* @submenu: a #GMenuModel with the items of the submenu * @submenu: a #GMenuModel with the items of the submenu
* *
* Convenience function for inserting a submenu menu item into @menu. * Convenience function for inserting a submenu menu item into @menu.
* Combine g_menu_new_submenu() and g_menu_insert_item() for a more * Combine g_menu_item_new_submenu() and g_menu_insert_item() for a more
* flexible alternative. * flexible alternative.
* *
* Since: 2.32 * Since: 2.32
@ -416,7 +416,7 @@ g_menu_insert_submenu (GMenu *menu,
* @submenu: a #GMenuModel with the items of the submenu * @submenu: a #GMenuModel with the items of the submenu
* *
* Convenience function for prepending a submenu menu item to the start * Convenience function for prepending a submenu menu item to the start
* of @menu. Combine g_menu_new_submenu() and g_menu_insert_item() for * of @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for
* a more flexible alternative. * a more flexible alternative.
* *
* Since: 2.32 * Since: 2.32
@ -436,7 +436,7 @@ g_menu_prepend_submenu (GMenu *menu,
* @submenu: a #GMenuModel with the items of the submenu * @submenu: a #GMenuModel with the items of the submenu
* *
* Convenience function for appending a submenu menu item to the end of * Convenience function for appending a submenu menu item to the end of
* @menu. Combine g_menu_new_submenu() and g_menu_insert_item() for a * @menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for a
* more flexible alternative. * more flexible alternative.
* *
* Since: 2.32 * Since: 2.32
@ -945,8 +945,7 @@ g_menu_item_set_action_and_target (GMenuItem *menu_item,
* a separator between an action name and a target string. In this * a separator between an action name and a target string. In this
* case, this call is equivalent to calling * case, this call is equivalent to calling
* g_menu_item_set_action_and_target() with the part before the "::" and * g_menu_item_set_action_and_target() with the part before the "::" and
* g_menu_item_set_target_value() with a string-type #GVariant * with a string-type #GVariant containing the part following the "::".
* containing the part following the "::".
* *
* If @detailed_action doesn't contain "::" then the action is set to * If @detailed_action doesn't contain "::" then the action is set to
* the given string (verbatim) and the target value is unset. * the given string (verbatim) and the target value is unset.
@ -955,7 +954,7 @@ g_menu_item_set_action_and_target (GMenuItem *menu_item,
* g_menu_item_set_action_and_target_value() for more flexible (but * g_menu_item_set_action_and_target_value() for more flexible (but
* slightly less convenient) alternatives. * slightly less convenient) alternatives.
* *
* See also g_menu_set_action_and_target_value() for a description of * See also g_menu_item_set_action_and_target_value() for a description of
* the semantics of the action and target attributes. * the semantics of the action and target attributes.
* *
* Since: 2.32 * Since: 2.32

View File

@ -714,8 +714,8 @@ struct _GMenuAttributeIterPrivate
* *
* If successful, @name and @value are set to the name and value of the * If successful, @name and @value are set to the name and value of the
* attribute that has just been advanced to. At this point, * attribute that has just been advanced to. At this point,
* g_menu_item_get_name() and g_menu_item_get_value() will return the * g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value() will
* same values again. * return the same values again.
* *
* The value returned in @name remains valid for as long as the iterator * The value returned in @name remains valid for as long as the iterator
* remains at the current position. The value returned in @value must * remains at the current position. The value returned in @value must
@ -871,7 +871,7 @@ struct _GMenuLinkIterPrivate
* *
* If successful, @out_link and @value are set to the name and #GMenuModel * If successful, @out_link and @value are set to the name and #GMenuModel
* of the link that has just been advanced to. At this point, * of the link that has just been advanced to. At this point,
* g_menu_item_get_name() and g_menu_item_get_value() will return the * g_menu_link_iter_get_name() and g_menu_link_iter_get_value() will return the
* same values again. * same values again.
* *
* The value returned in @out_link remains valid for as long as the iterator * The value returned in @out_link remains valid for as long as the iterator