[gthumb] removed debug code



commit c3edbb7af14e6a269b277dee7f57769cc9d31b45
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Sep 14 18:22:07 2013 +0200

    removed debug code

 extensions/image_viewer/gth-image-viewer-page.c |    2 --
 gthumb/gth-image-preloader.c                    |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index 11a7477..e8d692a 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -310,7 +310,6 @@ update_image_quality_if_required (GthImageViewerPage *self)
                                                    &original_width,
                                                    &original_height);
                if ((requested_size > 0) && (MAX (original_width, original_height) > requested_size)) {
-                       /*g_print ("request size %d\n", GTH_ORIGINAL_SIZE);*/
                        gth_image_preloader_load (self->priv->preloader,
                                                  self->priv->file_data,
                                                  GTH_ORIGINAL_SIZE,
@@ -327,7 +326,6 @@ update_image_quality_if_required (GthImageViewerPage *self)
                requested_size = gth_image_viewer_get_requested_size (GTH_IMAGE_VIEWER (self->priv->viewer));
                if (requested_size == -1) {
                        requested_size = _gth_image_preloader_get_requested_size (self);
-                       /*g_print ("request size %d\n", requested_size);*/
                        gth_image_preloader_load (self->priv->preloader,
                                                  self->priv->file_data,
                                                  requested_size,
diff --git a/gthumb/gth-image-preloader.c b/gthumb/gth-image-preloader.c
index 5765c7b..d9ce9a2 100644
--- a/gthumb/gth-image-preloader.c
+++ b/gthumb/gth-image-preloader.c
@@ -257,7 +257,6 @@ _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)) {
-                       g_print ("cached\n");
                        return cache_data;
                }
        }
@@ -439,8 +438,6 @@ _gth_image_preloader_load_current_file (GthImagePreloader *self,
                return;
        }
 
-       g_print ("load @ %d\n", request->requested_size);
-
        load_request_ref (request);
        gth_image_loader_load (self->priv->loader,
                               requested_file,


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