[gnome-settings-daemon] xsettings: remove handling of "scaling-factor" key



commit e6be3f938bff7dd7c48d7250c692c34f05fcd79f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Oct 4 14:00:26 2017 +0300

    xsettings: remove handling of "scaling-factor" key
    
    This plugin does not use value from this setting.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788506

 plugins/xsettings/gsd-xsettings-manager.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index d758246..342984e 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -64,7 +64,6 @@
 #define GTK_MODULES_ENABLED_KEY  "enabled-gtk-modules"
 
 #define TEXT_SCALING_FACTOR_KEY "text-scaling-factor"
-#define SCALING_FACTOR_KEY "scaling-factor"
 #define CURSOR_SIZE_KEY "cursor-size"
 #define CURSOR_THEME_KEY "cursor-theme"
 
@@ -990,7 +989,6 @@ xsettings_callback (GSettings             *settings,
         GVariant         *value;
 
         if (g_str_equal (key, TEXT_SCALING_FACTOR_KEY) ||
-            g_str_equal (key, SCALING_FACTOR_KEY) ||
             g_str_equal (key, CURSOR_SIZE_KEY) ||
             g_str_equal (key, CURSOR_THEME_KEY)) {
                xft_callback (NULL, key, manager);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]