From 6c3daeaac403b8dfa88c7af2a19feee1a48489fd Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 9 Feb 2018 03:02:42 +0100 Subject: [PATCH] universal-access: Fix possible crash when exiting panel The gnome-settings-daemon mouse settings (double-click delay) and repeat keys settings were both missing destroying their GSettings, meaning that we could crash if the setting changed outside the panel, or when coming and going to the panel. https://bugzilla.gnome.org/show_bug.cgi?id=793322 --- panels/universal-access/cc-ua-panel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c index f0928555e..a364ed0a3 100644 --- a/panels/universal-access/cc-ua-panel.c +++ b/panels/universal-access/cc-ua-panel.c @@ -138,7 +138,9 @@ cc_ua_panel_dispose (GObject *object) g_clear_object (&priv->interface_settings); g_clear_object (&priv->kb_settings); g_clear_object (&priv->mouse_settings); + g_clear_object (&priv->kb_desktop_settings); g_clear_object (&priv->application_settings); + g_clear_object (&priv->gsd_mouse_settings); g_clear_object (&priv->zoom_options);