From 32ea7d763abbbf23cb1209edf7e543ee1b333ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 29 Mar 2017 15:17:39 +0800 Subject: [PATCH] Don't set clutters 'window-scaling-factor' property It doesn't exist anymore. https://bugzilla.gnome.org/show_bug.cgi?id=777732 --- src/run-js-test.c | 1 - src/shell-global.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/run-js-test.c b/src/run-js-test.c index 5fb077c2d..172ec179f 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -68,7 +68,6 @@ main(int argc, char **argv) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) return 1; - g_object_set (clutter_settings_get_default (), "window-scaling-factor", 1, NULL); gdk_x11_display_set_window_scale (gdk_display_get_default (), 1); context = g_option_context_new (NULL); diff --git a/src/shell-global.c b/src/shell-global.c index 3bfaba466..b195c6f85 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -858,7 +858,6 @@ update_scale_factor (GtkSettings *settings, } /* Make sure clutter and gdk scaling stays disabled */ - g_object_set (clutter_settings_get_default (), "window-scaling-factor", 1, NULL); gdk_x11_display_set_window_scale (gdk_display_get_default (), 1); }