summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2022-06-01 12:37:10 +0200
committerLuke from DC <[email protected]>2022-06-01 16:14:14 +0000
commit20194239f59b53863a57d864fba7b3c6a3524049 (patch)
tree3fd982db02cb5a1e7249cd899e0b7ac5743e1f05 /libcaja-private
parent64e75dd157fd5925c329ca61eb28bf37810705d3 (diff)
downloadcaja-20194239f59b53863a57d864fba7b3c6a3524049.tar.bz2
caja-20194239f59b53863a57d864fba7b3c6a3524049.tar.xz
Properly initialize IconKey::scale
This value is used to look up icons in the cache, but somehow was not properly initialized.
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-info.c b/libcaja-private/caja-icon-info.c
index cf690a6e..ee52e4bd 100644
--- a/libcaja-private/caja-icon-info.c
+++ b/libcaja-private/caja-icon-info.c
@@ -307,6 +307,7 @@ icon_key_new (GIcon *icon,
key = g_slice_new (IconKey);
key->icon = g_object_ref (icon);
+ key->scale = scale;
key->size = size;
return key;