From: Darren S. <ds...@us...> - 2006-04-04 22:39:30
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31671/src Modified Files: engine.c Log Message: Minor tweak of JS exec queue startup. Index: engine.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/engine.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- engine.c 4 Apr 2006 22:07:32 -0000 1.35 +++ engine.c 4 Apr 2006 22:39:24 -0000 1.36 @@ -460,8 +460,11 @@ static gboolean engine_startup_cb (gpointer data) { + /* note: order of actions is significant */ + queue_available = TRUE; g_signal_connect (G_OBJECT (app), "client-event", G_CALLBACK (js_queue_cb), NULL); + js_queue_cb (NULL, NULL, NULL); return FALSE; } @@ -496,8 +499,6 @@ se_eval (gse, se_startup_cmds, NULL, NULL, NULL, _("Startup script")); gtk_init_add ((GtkFunction) engine_startup_cb, NULL); - queue_available = TRUE; - js_queue_cb (NULL, NULL, NULL); } void |