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
committerraveit65 <[email protected]>2019-07-21 11:36:12 +0200
commit9170b8e53759a9960db92bd13a6eab62448147f1 (patch)
tree02774eccaf34120c3ed2e2d9709c49ef63269c44 /src/file-manager/fm-empty-view.c
parent18ea65a0ae7c80fcc7e85a1492b0bc7ba148c736 (diff)
downloadcaja-9170b8e53759a9960db92bd13a6eab62448147f1.tar.bz2
caja-9170b8e53759a9960db92bd13a6eab62448147f1.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 60e68382..ada809ee 100644
--- a/src/file-manager/fm-empty-view.c
+++ b/src/file-manager/fm-empty-view.c
@@ -64,7 +64,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);