summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-empty-view.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-17 16:54:53 +0800
committermonsta <[email protected]>2019-07-24 11:31:19 +0300
commit0527cc73992d8f5fd42088651308ca57e4011be3 (patch)
treee222bafc1a8dcba1eb826a3bbc9622e74f190f1f /src/file-manager/fm-empty-view.c
parentde6d2f6d89e02e76b4b636e0f726f7be5723e1dd (diff)
downloadcaja-0527cc73992d8f5fd42088651308ca57e4011be3.tar.bz2
caja-0527cc73992d8f5fd42088651308ca57e4011be3.tar.xz
fix build error about fm-empty-view
Diffstat (limited to 'src/file-manager/fm-empty-view.c')
-rw-r--r--src/file-manager/fm-empty-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file-manager/fm-empty-view.c b/src/file-manager/fm-empty-view.c
index b0f577f7..573517d8 100644
--- a/src/file-manager/fm-empty-view.c
+++ b/src/file-manager/fm-empty-view.c
@@ -62,7 +62,8 @@ fm_empty_view_add_file (FMDirectoryView *view, CajaFile *file, CajaDirectory *di
if (!timer) timer = g_timer_new ();
g_timer_start (timer);
- icon = caja_file_get_icon_surface (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD), TRUE, 0);
+ icon = caja_file_get_icon_surface (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD),
+ TRUE, gtk_widget_get_scale_factor (GTK_WIDGET(view)), 0);
elaps = g_timer_elapsed (timer, NULL);
g_timer_stop (timer);