From adff60ed6389cfb1e97a329c150320aa44b18be6 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 21 Dec 2011 12:36:19 +0100 Subject: [PATCH] menu: documentation fixes g_menu_new_section() does not exist, the comment meant g_menu_item_new_section(). --- gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gmenu.c b/gio/gmenu.c index d012595..0873d39 100644 --- a/gio/gmenu.c +++ b/gio/gmenu.c @@ -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 -- 2.7.4