[gtk/gtk-4-4: 1/3] GdkWin32: Use a signed integral type for the DPI scale
- From: Luca Bacci <lbacci src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-4: 1/3] GdkWin32: Use a signed integral type for the DPI scale
- Date: Mon, 22 Nov 2021 11:52:57 +0000 (UTC)
commit d0ae410ca72e9a73413f565d386b1d9c04289f19
Author: Luca Bacci <luca bacci982 gmail com>
Date: Fri Oct 29 17:54:10 2021 +0200
GdkWin32: Use a signed integral type for the DPI scale
gdk/win32/gdkmonitor-win32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/win32/gdkmonitor-win32.c b/gdk/win32/gdkmonitor-win32.c
index 9dd7572d5f..a913a5cfc0 100644
--- a/gdk/win32/gdkmonitor-win32.c
+++ b/gdk/win32/gdkmonitor-win32.c
@@ -563,7 +563,7 @@ enum_monitor (HMONITOR hmonitor,
GdkWin32Monitor *w32mon;
GdkMonitor *mon;
GdkRectangle rect;
- guint scale;
+ int scale;
memset (&dd_monitor, 0, sizeof (dd_monitor));
dd_monitor.cb = sizeof (dd_monitor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]