[gnome-control-center/wip/carlosg/mouse-gsd-settings] mouse: Drop unused g-s-d GSettings
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/carlosg/mouse-gsd-settings] mouse: Drop unused g-s-d GSettings
- Date: Wed, 27 Jan 2021 12:19:25 +0000 (UTC)
commit fe9b66c387ed38e58fad0d0ef4cd091778a2b837
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 ---
1 file changed, 3 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]