After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694800 - Need api to delete relocatable schema instances
Need api to delete relocatable schema instances
Status: RESOLVED DUPLICATE of bug 622126
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-02-27 16:26 UTC by Geert Janssens
Modified: 2013-10-29 20:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Geert Janssens 2013-02-27 16:26:23 UTC
GSettings provides an api to create relocatable schemas. Such schema is useful if you have a set of keys that you want to use repeatedly. For example an application can define user accounts. Each user account needs the same set of keys, but with different values each time.

GSettings however does not seem to provide an api to delete the keys from the database again though. So if the application goes through some iterations of creating and deleting accounts, some cruft starts to build up in the database.
Comment 1 Christian Persch 2013-02-27 16:34:05 UTC
That's what gsettingslist would be for, if it existed. (See bug 622126.)
Comment 2 Allison Karlitskaya (desrt) 2013-10-29 20:44:17 UTC

*** This bug has been marked as a duplicate of bug 622126 ***