[gthumb] do not declare unused variables when the gio scheduler is used



commit c606b6f054513e5f179eda2af5304ac83e2c62a5
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Sep 19 16:18:11 2010 +0200

    do not declare unused variables when the gio scheduler is used

 gthumb/gth-image-loader.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-image-loader.c b/gthumb/gth-image-loader.c
index 7d1b049..f650f45 100644
--- a/gthumb/gth-image-loader.c
+++ b/gthumb/gth-image-loader.c
@@ -326,8 +326,10 @@ gth_image_loader_load (GthImageLoader      *loader,
 		       gpointer             user_data)
 {
 	GSimpleAsyncResult *result;
+#ifndef USE_G_IO_SCHEDULER
 	GThreadPriority     thread_priority;
 	GError             *error = NULL;
+#endif
 
 	result = g_simple_async_result_new (G_OBJECT (loader),
 					    callback,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]