summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-empty-view.c
diff options
context:
space:
mode:
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);