[gthumb] removed unnecessary braces



commit 67312c23559bc3531037f3b9d36e826a04bd13ac
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Sep 15 10:44:29 2013 +0200

    removed unnecessary braces

 gthumb/gth-image-preloader.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-image-preloader.c b/gthumb/gth-image-preloader.c
index 8944d11..83581d0 100644
--- a/gthumb/gth-image-preloader.c
+++ b/gthumb/gth-image-preloader.c
@@ -256,9 +256,8 @@ _gth_image_preloader_lookup_request (GthImagePreloader      *self,
 
        for (scan = self->priv->cache->head; scan; scan = scan->next) {
                CacheData *cache_data = scan->data;
-               if (cache_data_is_valid_for_request (cache_data, requested_file, requested_size)) {
+               if (cache_data_is_valid_for_request (cache_data, requested_file, requested_size))
                        return cache_data;
-               }
        }
 
        return NULL;


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