Age | Commit message (Collapse) | Author | Files | Lines |
|
also remove defines for default max age and size - we already have
the defaults set in schema, makes no sense to duplicate them here.
early check for -1 value (means "do not clean thumbs") is ported from:
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=12f2121929f048c5cc07cd9c90570310a169b29e
|
|
This reverts commit 602945c084d45bd3858e564e03a70a2a361a5756.
|
|
|
|
|
|
Closes #51
https://github.com/mate-desktop/mate-settings-daemon/issues/51
|
|
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
|
|
|
|
|
|
|
|
|