MINGW-packages/mingw-w64-gtk4/001-fix-font-rendering.patch
Christoph Reiter 7de2c7c49a gtk4: Update to 4.16.0
* the icon drawing issue has been fixed, so drop the patch
* disable automatic font rendering settings, to restore the old
  code taking Windows settings into account
2024-09-07 16:31:15 +02:00

14 lines
690 B
Diff

diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 146c086ba6..05e1e1b420 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -974,7 +974,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
*/
pspecs[PROP_FONT_RENDERING] = g_param_spec_enum ("gtk-font-rendering", NULL, NULL,
GTK_TYPE_FONT_RENDERING,
- GTK_FONT_RENDERING_AUTOMATIC,
+ GTK_FONT_RENDERING_MANUAL,
GTK_PARAM_READWRITE);
g_object_class_install_properties (gobject_class, NUM_PROPERTIES, pspecs);