[glib/wip/doc-fixes: 26/33] docs: Fix method names in GMenu and GMenuModel



commit 7824fc400ad09a3020c84a308939c971c3145ef6
Author: David King <amigadave amigadave com>
Date:   Sun Feb 19 16:37:55 2012 +0000

    docs: Fix method names in GMenu and GMenuModel

 gio/gmenu.c      |   11 +++++------
 gio/gmenumodel.c |    6 +++---
 2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/gio/gmenu.c b/gio/gmenu.c
index 8435f9b..c80b6bf0 100644
--- a/gio/gmenu.c
+++ b/gio/gmenu.c
@@ -388,7 +388,7 @@ g_menu_append_section (GMenu       *menu,
  * @submenu: a #GMenuModel with the items of the submenu
  *
  * 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.
  *
  * Since: 2.32
@@ -413,7 +413,7 @@ g_menu_insert_submenu (GMenu       *menu,
  * @submenu: a #GMenuModel with the items of the submenu
  *
  * 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.
  *
  * Since: 2.32
@@ -433,7 +433,7 @@ g_menu_prepend_submenu (GMenu       *menu,
  * @submenu: a #GMenuModel with the items of the submenu
  *
  * 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.
  *
  * Since: 2.32
@@ -942,8 +942,7 @@ g_menu_item_set_action_and_target (GMenuItem   *menu_item,
  * a separator between an action name and a target string.  In this
  * case, this call is equivalent to calling
  * g_menu_item_set_action_and_target() with the part before the "::" and
- * g_menu_item_set_target_value() with a string-type #GVariant
- * containing the part following the "::".
+ * with a string-type #GVariant containing the part following the "::".
  *
  * If @detailed_action doesn't contain "::" then the action is set to
  * the given string (verbatim) and the target value is unset.
@@ -952,7 +951,7 @@ g_menu_item_set_action_and_target (GMenuItem   *menu_item,
  * g_menu_item_set_action_and_target_value() for more flexible (but
  * 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.
  *
  * Since: 2.32
diff --git a/gio/gmenumodel.c b/gio/gmenumodel.c
index 64d99ae..d3285fa 100644
--- a/gio/gmenumodel.c
+++ b/gio/gmenumodel.c
@@ -714,8 +714,8 @@ struct _GMenuAttributeIterPrivate
  *
  * If successful, @name and @value are set to the name and value of the
  * attribute that has just been advanced to.  At this point,
- * g_menu_item_get_name() and g_menu_item_get_value() will return the
- * same values again.
+ * g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value() will
+ * return the same values again.
  *
  * The value returned in @name remains valid for as long as the iterator
  * 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
  * 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.
  *
  * The value returned in @out_link remains valid for as long as the iterator



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]