summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-05-23 23:23:51 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-05-23 23:23:51 +0000
commitb76ead26160271383a5440afd5a392ba285a5375 (patch)
treed89bd9703e8b0793e05a2c2700d683eb12742dfe
parent1216d02d7f5c7b27de9ce6ff275c3505fbbb5065 (diff)
call XInitThreads only when Xlib code is used
SVN revision: 49170
-rw-r--r--src/bin/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 2b9158a..c3c4923 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1357,7 +1357,10 @@ int
1357main(int argc, char **argv) 1357main(int argc, char **argv)
1358{ 1358{
1359 int i; 1359 int i;
1360
1361#if defined (HAVE_EVAS_SOFTWARE_XLIB) || defined (HAVE_EVAS_XRENDER_X11) ||defined (HAVE_EVAS_OPENGL_X11) || defined (HAVE_EVAS_SOFTWARE_16_X11)
1360 XInitThreads(); 1362 XInitThreads();
1363#endif
1361 1364
1362 evas_init(); 1365 evas_init();
1363 evas = evas_new(); 1366 evas = evas_new();