[gthumb] JPEG image dimensions not displayed for files inside the trash



commit 830a216ce77ab90c770df07d7990808a6e529598
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Mar 20 12:20:54 2022 +0100

    JPEG image dimensions not displayed for files inside the trash
    
    Fixes #214

 extensions/jpeg_utils/jpeg-info.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/extensions/jpeg_utils/jpeg-info.c b/extensions/jpeg_utils/jpeg-info.c
index d51d908c..218f31c3 100644
--- a/extensions/jpeg_utils/jpeg-info.c
+++ b/extensions/jpeg_utils/jpeg-info.c
@@ -429,6 +429,7 @@ _jpeg_info_get_from_stream (GInputStream     *stream,
                        g_input_stream_skip (stream, size - 7, cancellable, error);
 
                        segment_data_consumed = TRUE;
+                       data->valid |= _JPEG_INFO_IMAGE_SIZE;
                }
 
                if (((flags & _JPEG_INFO_EXIF_ORIENTATION)


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