[gthumb] Continuously reloads image when it is only image in folder



commit 74cab0c8dd59e4e42ef159a9ad4d3f67984fd55f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Jan 16 17:55:13 2021 +0100

    Continuously reloads image when it is only image in folder
    
    Fixes https://gitlab.gnome.org/GNOME/gthumb/-/issues/153

 gthumb/gth-browser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index b6e62ee9..4061ad0d 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -6245,7 +6245,7 @@ file_metadata_ready_cb (GList    *files,
                 * a different viewer_page. */
 
                if (different_mime_type && (G_OBJECT_TYPE (browser->priv->viewer_page) == G_OBJECT_TYPE 
(basic_viewer_page)))
-                       _gth_browser_load_file_more_options (browser, data->file_data, data->view, 
data->fullscreen, data->view);
+                       _gth_browser_load_file_more_options (browser, file_data, data->view, 
data->fullscreen, data->view);
                else
                        gth_viewer_page_update_info (browser->priv->viewer_page, browser->priv->current_file);
        }


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