[eog] EogThumbnail: Temporarily revert thumbnailing changes from merge !83



commit d7e59ee00ef152b02ed48041b0d4aa6cc05e030f
Author: Felix Riemann <friemann gnome org>
Date:   Sat Feb 13 20:40:49 2021 +0100

    EogThumbnail: Temporarily revert thumbnailing changes from merge !83
    
    It is not really clear if the thumbnailing changes from
    commit 38deed65a75ed2767ed275152f7577f9435d0a83 are actually needed.
    Also it doesn't work for non-local files yet.

 src/eog-thumbnail.c | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/eog-thumbnail.c b/src/eog-thumbnail.c
index 682f7513..8fd2c7cf 100644
--- a/src/eog-thumbnail.c
+++ b/src/eog-thumbnail.c
@@ -506,13 +506,6 @@ eog_thumbnail_load (EogImage *image, GError **error)
                        /* generate a thumbnail from the file */
                        eog_debug_message (DEBUG_THUMBNAIL, "%s: creating from file",data->uri_str);
                        thumb = gnome_desktop_thumbnail_factory_generate_thumbnail (factory, data->uri_str, 
data->mime_type);
-                       if (thumb == NULL) {
-                               pixbuf = gdk_pixbuf_new_from_file (g_file_get_path (file), NULL);
-                               if (pixbuf) {
-                                       thumb = create_thumbnail_from_pixbuf (data, pixbuf, NULL);
-                                       g_object_unref (pixbuf);
-                               }
-                       }
                }
 
                if (thumb != NULL) {


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