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
This commit is contained in:
Bastien Nocera 2018-02-09 03:02:42 +01:00
parent 2ff5cfd6aa
commit 6c3daeaac4

View file

@ -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);