projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1494685
)
Disable unused functions when compiled without threads support, prevents few warnings.
author
Laurent Monin
<geeqie@norz.org>
Mon, 6 Apr 2009 22:18:13 +0000
(22:18 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 6 Apr 2009 22:18:13 +0000
(22:18 +0000)
src/image-load.c
patch
|
blob
|
history
diff --git
a/src/image-load.c
b/src/image-load.c
index
87f8abe
..
8269fd2
100644
(file)
--- a/
src/image-load.c
+++ b/
src/image-load.c
@@
-779,6
+779,8
@@
static gboolean image_loader_start_idle(ImageLoader *il)
/**************************************************************************************/
/* execution via thread */
+
+#ifdef HAVE_GTHREAD
static GThreadPool *image_loader_thread_pool = NULL;
static GCond *image_loader_prio_cond = NULL;
@@
-890,6
+892,7
@@
static gboolean image_loader_start_thread(ImageLoader *il)
return TRUE;
}
+#endif /* HAVE_GTHREAD */
/**************************************************************************************/