summary refs log tree commit diff stats
path: root/src/fe-gtk/maingui.c
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-05-11 23:07:42 -0300
committerTingPing <tngpng@gmail.com>2013-05-11 23:07:42 -0300
commit04d282fae3b89d2a86c66894f7b88bfbc3db29fe (patch)
tree6c99dab47e78958a080eddacff346f59c8fdd517 /src/fe-gtk/maingui.c
parent250d9b565cdd039bf9bcd275ca45b0d0ef70f3aa (diff)
Fix crash when quickly attaching/detaching tabs
Diffstat (limited to 'src/fe-gtk/maingui.c')
-rw-r--r--src/fe-gtk/maingui.c2
1 files changed, 1 insertions, 1 deletions
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