summaryrefslogtreecommitdiff
path: root/src/nautilus-file-private.h
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-08-08 00:19:26 +0100
committerAntónio Fernandes <antoniof@gnome.org>2022-09-01 12:23:06 +0100
commit86b8a4371067b1ef53539b1b60d1f158a6071831 (patch)
tree34ae0dcc0b0ea15557b59e6d868629cefc80ff60 /src/nautilus-file-private.h
parentacb74897f68d180ccb1f529b14726dd9ddfea090 (diff)
downloadnautilus-86b8a4371067b1ef53539b1b60d1f158a6071831.tar.gz
file: Scale down thumbnails using GtkSnapshot
We've also been scaling thumbnails down in advance using GdkPixbuf API, and keeping a cache of scaled thumbnails. But nowadays we can push that scaling job into the render nodes, taking advantage of GPU. This is also a lot simpler.
Diffstat (limited to 'src/nautilus-file-private.h')
-rw-r--r--src/nautilus-file-private.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nautilus-file-private.h b/src/nautilus-file-private.h
index 831ed8d44..e575edb62 100644
--- a/src/nautilus-file-private.h
+++ b/src/nautilus-file-private.h
@@ -91,9 +91,6 @@ struct NautilusFileDetails
GdkPixbuf *thumbnail;
time_t thumbnail_mtime;
- GdkPixbuf *scaled_thumbnail;
- double thumbnail_scale;
-
GList *mime_list; /* If this is a directory, the list of MIME types in it. */
/* Info you might get from a link (.desktop, .directory or nautilus link) */