Make GtkItemFactory produce GtkSeparatorMenuItems.

https://bugzilla.gnome.org/show_bug.cgi?id=694077
This commit is contained in:
William Hua 2013-02-18 06:42:17 -05:00 committed by Cosimo Cecchi
parent 0004fe6cd4
commit 950084ae18

View File

@ -964,7 +964,7 @@ gtk_item_factory_create_item (GtkItemFactory *ifactory,
else if (type_id == quark_type_toggle_item)
type = GTK_TYPE_CHECK_MENU_ITEM;
else if (type_id == quark_type_separator_item)
type = GTK_TYPE_MENU_ITEM;
type = GTK_TYPE_SEPARATOR_MENU_ITEM;
else if (type_id == quark_type_branch)
type = GTK_TYPE_MENU_ITEM;
else if (type_id == quark_type_last_branch)