From 04d282fae3b89d2a86c66894f7b88bfbc3db29fe Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 11 May 2013 23:07:42 -0300 Subject: Fix crash when quickly attaching/detaching tabs --- src/fe-gtk/maingui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk/maingui.c') diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index 0009198e..96f5e6b2 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -2611,7 +2611,7 @@ mg_create_center (session *sess, session_gui *gui, GtkWidget *box) mg_create_textarea (sess, vbox); mg_create_entry (sess, vbox); - g_idle_add ((GSourceFunc)mg_add_pane_signals, gui); + mg_add_pane_signals (gui); } static void -- cgit 1.4.1