[gtk+/gtk-2-24] Make GtkItemFactory produce GtkSeparatorMenuItems.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Make GtkItemFactory produce GtkSeparatorMenuItems.
- Date: Mon, 18 Feb 2013 18:40:19 +0000 (UTC)
commit 950084ae18b6ce47cc2d3f5ef4f103438707156a
Author: William Hua <william attente ca>
Date: Mon Feb 18 06:42:17 2013 -0500
Make GtkItemFactory produce GtkSeparatorMenuItems.
https://bugzilla.gnome.org/show_bug.cgi?id=694077
gtk/gtkitemfactory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkitemfactory.c b/gtk/gtkitemfactory.c
index 2778fd3..6addff3 100644
--- a/gtk/gtkitemfactory.c
+++ b/gtk/gtkitemfactory.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]