[Xfce4-commits] <xfwm4:master> Fix hang when closing a submenu (bug 6562)

Olivier Fourdan noreply at xfce.org
Fri Dec 3 11:36:05 CET 2010


Updating branch refs/heads/master
         to a586b901dbad22ba454cc787138bb16edce6bfd0 (commit)
       from dfd9b7860cc3d2d262b79577ba1924f1f9d7a29d (commit)

commit a586b901dbad22ba454cc787138bb16edce6bfd0
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Dec 3 11:21:39 2010 +0100

    Fix hang when closing a submenu (bug 6562)

 src/menu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/menu.c b/src/menu.c
index 87aa966..21e4773 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -283,7 +283,7 @@ menu_default (GdkScreen *gscr, Window xid, MenuOp ops, MenuOp insensitive, MenuF
         }
         ++i;
     }
-    g_signal_connect (GTK_OBJECT (menu->menu), "selection-done", GTK_SIGNAL_FUNC (menu), menu);
+    g_signal_connect (GTK_OBJECT (menu->menu), "selection-done", GTK_SIGNAL_FUNC (menu_closed), menu);
 
     return (menu);
 }



More information about the Xfce4-commits mailing list