[mutter] prefs: Don't listen to the cursor-size key



commit d20dae3553f26609fdfba83b1f593cbd43dd8e2e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Sep 14 23:25:42 2014 -0600

    prefs: Don't listen to the cursor-size key
    
    It will only confuse the code if somebody changes
    it. gnome-settings-daemon already listens to this, so just use that.

 src/core/prefs.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 336bc33..1c8c489 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -52,7 +52,6 @@
 #define KEY_GNOME_ACCESSIBILITY "toolkit-accessibility"
 #define KEY_GNOME_ANIMATIONS "enable-animations"
 #define KEY_GNOME_CURSOR_THEME "cursor-theme"
-#define KEY_GNOME_CURSOR_SIZE "cursor-size"
 #define KEY_XKB_OPTIONS "xkb-options"
 #define KEY_XSETTINGS_OVERRIDES "overrides"
 
@@ -484,13 +483,6 @@ static MetaIntPreference preferences_int[] =
       &auto_raise_delay
     },
     {
-      { "cursor-size",
-        SCHEMA_INTERFACE,
-        META_PREF_CURSOR_SIZE,
-      },
-      &cursor_size
-    },
-    {
       { "draggable-border-width",
         SCHEMA_MUTTER,
         META_PREF_DRAGGABLE_BORDER_WIDTH,
@@ -1002,8 +994,6 @@ meta_prefs_init (void)
                     G_CALLBACK (settings_changed), NULL);
   g_signal_connect (settings, "changed::" KEY_GNOME_CURSOR_THEME,
                     G_CALLBACK (settings_changed), NULL);
-  g_signal_connect (settings, "changed::" KEY_GNOME_CURSOR_SIZE,
-                    G_CALLBACK (settings_changed), NULL);
   g_hash_table_insert (settings_schemas, g_strdup (SCHEMA_INTERFACE), settings);
 
   settings = get_xsettings_settings ();
@@ -1301,7 +1291,6 @@ update_cursor_size (GtkSettings *settings,
     }
 }
 
-
 /**
  * maybe_give_disable_workaround_warning:
  *


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