[glib] menu: documentation fixes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] menu: documentation fixes
- Date: Wed, 21 Dec 2011 11:37:21 +0000 (UTC)
commit adff60ed6389cfb1e97a329c150320aa44b18be6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Dec 21 12:36:19 2011 +0100
menu: documentation fixes
g_menu_new_section() does not exist, the comment meant
g_menu_item_new_section().
gio/gmenu.c | 6 +++---
1 files 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]