aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/idoswitchmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c
index 192323d..3831336 100644
--- a/src/idoswitchmenuitem.c
+++ b/src/idoswitchmenuitem.c
@@ -87,7 +87,7 @@ popdown_later_cb (gpointer widget)
GtkWidget * parent = gtk_widget_get_parent (widget);
if (GTK_IS_MENU (parent))
{
- gtk_menu_popdown (GTK_MENU(parent));
+ gtk_menu_shell_deactivate (GTK_MENU_SHELL(parent));
}
g_object_unref (widget);
return FALSE; /* only call this cb once */