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

@@ -1686,6 +1686,7 @@ g_menu_item_get_attribute_value
g_menu_item_get_link
g_menu_item_get_type
g_menu_item_new
g_menu_item_new_from_model
g_menu_item_new_section
g_menu_item_new_submenu
g_menu_item_set_action_and_target