[gnome-control-center/wip/carlosg/mouse-gsd-settings: 1/2] mouse: Drop unused g-s-d GSettings




commit b71ac9916094b6b1b3e6192e3818f4395ba50549
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jan 27 13:17:03 2021 +0100

    mouse: Drop unused g-s-d GSettings
    
    This went unnoticed, till g-s-d did actually drop that schema. Stop
    referencing this unused schema.

 panels/mouse/cc-mouse-panel.c | 3 ---
 panels/mouse/cc-mouse-test.c  | 3 +--
 subprojects/libhandy          | 2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/panels/mouse/cc-mouse-panel.c b/panels/mouse/cc-mouse-panel.c
index a7f018bc4..4f28edaae 100644
--- a/panels/mouse/cc-mouse-panel.c
+++ b/panels/mouse/cc-mouse-panel.c
@@ -62,7 +62,6 @@ struct _CcMousePanel
   GtkSwitch         *two_finger_scrolling_switch;
 
   GSettings         *mouse_settings;
-  GSettings         *gsd_mouse_settings;
   GSettings         *touchpad_settings;
 
   gboolean           have_mouse;
@@ -340,7 +339,6 @@ cc_mouse_panel_dispose (GObject *object)
   CcMousePanel *self = CC_MOUSE_PANEL (object);
 
   g_clear_object (&self->mouse_settings);
-  g_clear_object (&self->gsd_mouse_settings);
   g_clear_object (&self->touchpad_settings);
   g_clear_object (&self->right_gesture);
   g_clear_object (&self->left_gesture);
@@ -387,7 +385,6 @@ cc_mouse_panel_init (CcMousePanel *self)
   gtk_widget_init_template (GTK_WIDGET (self));
 
   self->mouse_settings = g_settings_new ("org.gnome.desktop.peripherals.mouse");
-  self->gsd_mouse_settings = g_settings_new ("org.gnome.settings-daemon.peripherals.mouse");
   self->touchpad_settings = g_settings_new ("org.gnome.desktop.peripherals.touchpad");
 
   device_manager = gsd_device_manager_get ();
diff --git a/panels/mouse/cc-mouse-test.c b/panels/mouse/cc-mouse-test.c
index e7e5c59cf..120d50279 100644
--- a/panels/mouse/cc-mouse-test.c
+++ b/panels/mouse/cc-mouse-test.c
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkx.h>
-#include <gnome-settings-daemon/gsd-enums.h>
 #include <math.h>
 
 #include "cc-mouse-test.h"
@@ -367,7 +366,7 @@ cc_mouse_test_init (CcMouseTest *self)
        self->double_click_state = DOUBLE_CLICK_TEST_OFF;
        self->button_state = 0;
 
-       self->mouse_settings = g_settings_new ("org.gnome.settings-daemon.peripherals.mouse");
+       self->mouse_settings = g_settings_new ("org.gnome.desktop.peripherals.mouse");
 
        self->information_label_timeout_id = 0;
        self->button_drawing_area_timeout_id = 0;
diff --git a/subprojects/libhandy b/subprojects/libhandy
index fd76b1e5a..94313c206 160000
--- a/subprojects/libhandy
+++ b/subprojects/libhandy
@@ -1 +1 @@
-Subproject commit fd76b1e5a3ea6f05723a52a4f6592c38330b08fa
+Subproject commit 94313c206258860b2428712e7ece1d02c5177857


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