summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-08 23:35:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-08 23:38:09 -0400
commit3bd93e5bfd968d21cbcba15b952b254c41f204f9 (patch)
treed465c06bbcf2f255ed6f82c00765ee69fa7f0d24 /gtk/gtkmenushell.c
parent72ac2175e2f0d3acd321ab8b8201e01806c3bfc4 (diff)
downloadgtk+-3bd93e5bfd968d21cbcba15b952b254c41f204f9.tar.gz
Remove GtkItem
With the demise of GtkList and GtkTree, it has GtkMenuItem as sole derived class, and is not really adding any value as a separate class. Its few useful features have been merged into GtkMenuItem. Bug 629104
Diffstat (limited to 'gtk/gtkmenushell.c')
-rw-r--r--gtk/gtkmenushell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 42542c8662..9aee0f1fd0 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -1079,7 +1079,7 @@ gtk_menu_shell_remove (GtkContainer *container,
if (widget == menu_shell->active_menu_item)
{
- gtk_item_deselect (GTK_ITEM (menu_shell->active_menu_item));
+ g_signal_emit_by_name (menu_shell->active_menu_item, "deselect");
menu_shell->active_menu_item = NULL;
}