Mercurial > geeqie
changeset 1524:6026466313b2
Disable unused functions when compiled without threads support, prevents few warnings.
author | zas_ |
---|---|
date | Mon, 06 Apr 2009 22:18:13 +0000 |
parents | 24a12aa0cb54 |
children | bd8001efdccc |
files | src/image-load.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-load.c Mon Apr 06 22:13:54 2009 +0000 +++ b/src/image-load.c Mon Apr 06 22:18:13 2009 +0000 @@ -779,6 +779,8 @@ /**************************************************************************************/ /* execution via thread */ + +#ifdef HAVE_GTHREAD static GThreadPool *image_loader_thread_pool = NULL; static GCond *image_loader_prio_cond = NULL; @@ -890,6 +892,7 @@ return TRUE; } +#endif /* HAVE_GTHREAD */ /**************************************************************************************/