summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-17 16:54:53 +0800
committerraveit65 <[email protected]>2022-07-20 18:55:52 +0200
commit69b15421a01ba0c29e274f96c25dcc6e4c928b23 (patch)
tree8b2b35c997beff6108fadefdc485c9c00025f31e
parent36b192cf995d871ca317ec8206f87256a47b9dc2 (diff)
downloadcaja-69b15421a01ba0c29e274f96c25dcc6e4c928b23.tar.bz2
caja-69b15421a01ba0c29e274f96c25dcc6e4c928b23.tar.xz
fix build error about fm-empty-view
-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 513c2605..4448b82f 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);