Revision: 1620
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1620&view=rev
Author:   zas_
Date:     2009-04-06 22:18:13 +0000 (Mon, 06 Apr 2009)

Log Message:
-----------
Disable unused functions when compiled without threads support, prevents few 
warnings.

Modified Paths:
--------------
    trunk/src/image-load.c

Modified: trunk/src/image-load.c
===================================================================
--- trunk/src/image-load.c      2009-04-06 22:13:54 UTC (rev 1619)
+++ trunk/src/image-load.c      2009-04-06 22:18:13 UTC (rev 1620)
@@ -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 */
 
 
 
/**************************************************************************************/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to