[nautilus/wip/antoniof/switch-to-gtk4: 22/37] monitors -- squash with later change
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/switch-to-gtk4: 22/37] monitors -- squash with later change
- Date: Wed, 5 Jan 2022 13:02:22 +0000 (UTC)
commit dc765d0366e81315da82931737f5a0cc9532fe6b
Author: António Fernandes <antoniof gnome org>
Date: Sat Jan 1 15:50:22 2022 +0000
monitors -- squash with later change
src/nautilus-list-model.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-list-model.c b/src/nautilus-list-model.c
index 701fc3eaf..a8df95fca 100644
--- a/src/nautilus-list-model.c
+++ b/src/nautilus-list-model.c
@@ -302,7 +302,7 @@ nautilus_list_model_get_icon_scale (NautilusListModel *model)
if (retval == -1)
{
- retval = gdk_monitor_get_scale_factor (gdk_display_get_monitor (gdk_display_get_default (), 0));
+ retval = gdk_monitor_get_scale_factor (g_list_model_get_item (gdk_display_get_monitors
(gdk_display_get_default ()), 0));
}
/* FIXME: Temporary regression: HiDPI icons not supported, ignore scale. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]