+--- gnome-directory-thumbnailer-0.1.11/src/main.c.orig 2019-09-02 17:43:54.000000000 +0200
++++ gnome-directory-thumbnailer-0.1.11/src/main.c 2023-05-30 22:35:02.161433957 +0200
+@@ -357,7 +357,7 @@ copy_thumbnail_from_file (GnomeDesktopTh
+ g_setenv ("GNOME_DIRECTORY_THUMBNAILER_RECURSION_LIMIT", new_recursion_limit_str, TRUE);
+ g_free (new_recursion_limit_str);
+
+- pixbuf = gnome_desktop_thumbnail_factory_generate_thumbnail (factory, file_uri, file_mime_type);
++ pixbuf = gnome_desktop_thumbnail_factory_generate_thumbnail (factory, file_uri, file_mime_type, NULL, NULL);
+ if (pixbuf == NULL) {
+ /* gnome-desktop doesn't set an error so we have to. */
+ g_debug ("Error generating thumbnail.");