menu: documentation fixes
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 21 Dec 2011 11:36:19 +0000 (12:36 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 21 Dec 2011 11:36:19 +0000 (12:36 +0100)
g_menu_new_section() does not exist, the comment meant
g_menu_item_new_section().

gio/gmenu.c

index d012595..0873d39 100644 (file)
@@ -324,7 +324,7 @@ g_menu_append (GMenu       *menu,
  * @section: a #GMenuModel with the items of the section
  *
  * Convenience function for inserting a section menu item into @menu.
- * Combine g_menu_new_section() and g_menu_insert_item() for a more
+ * Combine g_menu_item_new_section() and g_menu_insert_item() for a more
  * flexible alternative.
  *
  * Since: 2.32
@@ -350,7 +350,7 @@ g_menu_insert_section (GMenu       *menu,
  * @section: a #GMenuModel with the items of the section
  *
  * Convenience function for prepending a section menu item to the start
- * of @menu.  Combine g_menu_new_section() and g_menu_insert_item() for
+ * of @menu.  Combine g_menu_item_new_section() and g_menu_insert_item() for
  * a more flexible alternative.
  *
  * Since: 2.32
@@ -370,7 +370,7 @@ g_menu_prepend_section (GMenu       *menu,
  * @section: a #GMenuModel with the items of the section
  *
  * Convenience function for appending a section menu item to the end of
- * @menu.  Combine g_menu_new_section() and g_menu_insert_item() for a
+ * @menu.  Combine g_menu_item_new_section() and g_menu_insert_item() for a
  * more flexible alternative.
  *
  * Since: 2.32