call XInitThreads only when Xlib code is used
SVN revision: 49170
This commit is contained in:
parent
1216d02d7f
commit
b76ead2616
|
@ -1357,7 +1357,10 @@ int
|
|||
main(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
|
||||
#if defined (HAVE_EVAS_SOFTWARE_XLIB) || defined (HAVE_EVAS_XRENDER_X11) ||defined (HAVE_EVAS_OPENGL_X11) || defined (HAVE_EVAS_SOFTWARE_16_X11)
|
||||
XInitThreads();
|
||||
#endif
|
||||
|
||||
evas_init();
|
||||
evas = evas_new();
|
||||
|
|
Loading…
Reference in New Issue