GMenuItem: add constructor to copy from model

Add g_menu_item_new_from_model() for constructing a GMenuItem that is a
copy of a menu item that's in a GMenuModel.
This commit is contained in:
Ryan Lortie
2012-08-18 14:24:46 -04:00
parent 99478dd893
commit 6798fcdd0f
4 changed files with 93 additions and 0 deletions

View File

@@ -3744,6 +3744,7 @@ GMenuItem
g_menu_item_new
g_menu_item_new_section
g_menu_item_new_submenu
g_menu_item_new_from_model
<SUBSECTION>
g_menu_item_set_label