summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-mouse-plugin.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-14 21:38:42 +0200
committerJasmine Hassan <[email protected]>2012-12-15 00:50:29 +0200
commit0d6c7518d2cd66ba15ca7b8628d7b1e40e9ba875 (patch)
tree54404c60721125f4f938e3e05e9934c45867be11 /plugins/mouse/msd-mouse-plugin.c
parent252f06b61d3c34e59c13a3eba80d4077e18b542d (diff)
downloadmate-settings-daemon-0d6c7518d2cd66ba15ca7b8628d7b1e40e9ba875.tar.bz2
mate-settings-daemon-0d6c7518d2cd66ba15ca7b8628d7b1e40e9ba875.tar.xz
[housekeeping] Use g_settings_get_mapped, fix paranoid cleanup on shutdown
1. Use g_settings_get_mapped instead of our own hack get_gsettings_int_with_default. 2. Don't force hard-coded default when value is 0, as that's used to allow paranoid scanning on shutdown. 3. Only unref the settings object at the end of _stop routine, not before do_cleanup is potentially called, since purge_thumbnail_cache uses the settings. This was also causing asserts when killing msd, as described in (now closed) #23. These are regressions introduced by the gsettings port of the plugin -- 03478b4d
Diffstat (limited to 'plugins/mouse/msd-mouse-plugin.c')
0 files changed, 0 insertions, 0 deletions