Leigh Scott 6146d45
From 3eb7581adf6010ea3c3b92c3c338e1b932dc95de Mon Sep 17 00:00:00 2001
Leigh Scott 6146d45
From: Leigh Scott <leigh123linux@gmail.com>
Leigh Scott 6146d45
Date: Thu, 18 Jan 2024 18:50:02 +0000
Leigh Scott 6146d45
Subject: [PATCH] cover-art: fix compilation error
Leigh Scott 6146d45
Leigh Scott 6146d45
based on https://github.com/GNOME/sushi/commit/a5dec7e53915631cc3c182fe330ef3e0391fdbd4
Leigh Scott 6146d45
---
Leigh Scott 6146d45
 nemo-preview/src/libnemo-preview/nemo-preview-cover-art.c | 2 +-
Leigh Scott 6146d45
 1 file changed, 1 insertion(+), 1 deletion(-)
Leigh Scott 6146d45
Leigh Scott 6146d45
diff --git a/nemo-preview/src/libnemo-preview/nemo-preview-cover-art.c b/nemo-preview/src/libnemo-preview/nemo-preview-cover-art.c
Leigh Scott 6146d45
index a7c7df8d..a8c0bb79 100644
Leigh Scott 6146d45
--- a/nemo-preview/src/libnemo-preview/nemo-preview-cover-art.c
Leigh Scott 6146d45
+++ b/nemo-preview/src/libnemo-preview/nemo-preview-cover-art.c
Leigh Scott 6146d45
@@ -505,7 +505,7 @@ cache_file_query_info_cb (GObject *source,
Leigh Scott 6146d45
     file = get_gfile_for_amazon (self);
Leigh Scott 6146d45
     g_error_free (error);
Leigh Scott 6146d45
   } else {
Leigh Scott 6146d45
-    file = g_object_ref (source);
Leigh Scott 6146d45
+    file = G_FILE (g_object_ref (source));
Leigh Scott 6146d45
   }
Leigh Scott 6146d45
 
Leigh Scott 6146d45
   try_read_from_file (self, file);