From: Curt M. <we...@us...> - 2006-02-28 08:01:45
|
Update of /cvsroot/xastir/xastir/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28552 Modified Files: track_gui.c Log Message: Getting rid of the GUI stuff in fetch findu trail: It happens in a separate thread now and we can't write to the GUI from two threads at once due to possible segfaults. Index: track_gui.c =================================================================== RCS file: /cvsroot/xastir/xastir/src/track_gui.c,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** track_gui.c 17 Jan 2006 21:07:21 -0000 1.51 --- track_gui.c 28 Feb 2006 08:01:41 -0000 1.52 *************** *** 416,423 **** // Had trouble getting the file. Abort. ! // Fetch Findu Trail: Failed ! popup_message_always(langcode("POPEM00035"), langcode("POPEM00044")); // Reset global "busy" variable fetching_findu_trail_now = 0; --- 416,433 ---- // Had trouble getting the file. Abort. ! // Unfortunately we cannot do any GUI stuff from multiple ! // threads/processes at the same time. We have to can the ! // popup_message stuff here and just write to STDERR instead. ! ! // Dump a message to STDERR ! fprintf(stderr, ! "%s %s\n", ! langcode("POPEM00035"), langcode("POPEM00044")); + // Fetch Findu Trail: Failed + // popup_message_always(langcode("POPEM00035"), + // langcode("POPEM00044")); + // Reset global "busy" variable fetching_findu_trail_now = 0; |