[gnome-control-center] universal-access: Fix possible crash when exiting panel
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Fix possible crash when exiting panel
- Date: Fri, 9 Feb 2018 16:02:14 +0000 (UTC)
commit 6c3daeaac403b8dfa88c7af2a19feee1a48489fd
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 9 03:02:42 2018 +0100
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]