[eog] EogThumbnail: Fix build with gnome-desktop 42.x



commit 33944c55063d5dbc79e24d49367ecdde7d6a78b0
Author: Felix Riemann <friemann gnome org>
Date:   Sat Apr 23 21:58:36 2022 +0200

    EogThumbnail: Fix build with gnome-desktop 42.x
    
    0e70b0a3 added a new error message that wouldn't compile without
    upgrading to gnome-desktop's 43.x branch.

 src/eog-thumbnail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/eog-thumbnail.c b/src/eog-thumbnail.c
index ae113dfc..0603d4ae 100644
--- a/src/eog-thumbnail.c
+++ b/src/eog-thumbnail.c
@@ -508,7 +508,7 @@ eog_thumbnail_load (EogImage *image, GError **error)
 #else
                        thumb = gnome_desktop_thumbnail_factory_generate_thumbnail (factory, data->uri_str, 
data->mime_type);
                        if (!thumb)
-                               g_set_error (*error, EOG_THUMB_ERROR, EOG_THUMB_ERROR_GENERIC, "Generating 
thumbnail failed: %s", local_error->message);
+                               g_set_error_literal (error, EOG_THUMB_ERROR, EOG_THUMB_ERROR_GENERIC, 
"Generating thumbnail failed");
 #endif
                }
 


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