# HG changeset patch # User zas_ # Date 1239056293 0 # Node ID 6026466313b236c47deb74e9d3c489708944fd9f # Parent 24a12aa0cb5425aec2d789fcfd59108e7f415e07 Disable unused functions when compiled without threads support, prevents few warnings. diff -r 24a12aa0cb54 -r 6026466313b2 src/image-load.c --- 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 */ /**************************************************************************************/