/* g_menu_insert_section: @menu: a #GMenu @position: the position at which to insert the item @label: (allow-none): the section label, or NULL  */
void g_menu_insert_section(GMenu *menu, gint position, const gchar *label, GMenuModel *section)
/* g_menu_insert_section: @menu: a #GMenu @position: the position at which to insert the item @label: (allow-none): the section label, or NULL  */
void g_menu_insert_section(GMenu *menu, gint position, const gchar *label, GMenuModel *section)
{
  GMenuItem *menu_item;
  menu_item = g_menu_item_new_section (label, section);
  g_menu_insert_item (menu, position, menu_item);
  g_object_unref (menu_item);
}