Changeset 670

Show
Ignore:
Timestamp:
12/16/09 18:02:40 (2 years ago)
Author:
erikd
Message:

Apply patch from Stepan Golosunov (via Debian) to fix crashes when
using multiple threads (Debian bugs #405809 and #513829).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sweep/trunk/src/main.c

    r557 r670  
    2727#include <string.h> 
    2828#include <time.h> 
     29 
     30#include <X11/Xlib.h> 
    2931 
    3032#include <glib.h> 
     
    138140#endif 
    139141#endif 
     142 
     143  XInitThreads (); 
    140144 
    141145  gtk_init (&argc, &argv);