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 712315 - GSettings: More docs for deprecated _list_schemas()
GSettings: More docs for deprecated _list_schemas()
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other All
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-11-14 16:40 UTC by Bastien Nocera
Modified: 2013-11-23 18:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GSettings: More docs for deprecated _list_schemas() (1.08 KB, patch)
2013-11-14 16:40 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-11-14 16:40:35 UTC
.
Comment 1 Bastien Nocera 2013-11-14 16:40:54 UTC
Created attachment 259820 [details] [review]
GSettings: More docs for deprecated _list_schemas()

Most _list_schemas() uses were to check for the availability
of a particular schema. g_settings_schema_source_lookup() is
a better way to do this.
Comment 2 Matthias Clasen 2013-11-15 11:51:27 UTC
Review of attachment 259820 [details] [review]:

Looks fine to me. Would also be nice to have a paragraph in the long description about how gsettings is built on the the assumption that schemas are part of your application, but if you _have_ to deal with missing schemas, here is how to...
Comment 3 Matthias Clasen 2013-11-23 18:36:43 UTC
Attachment 259820 [details] pushed as aef0adc - GSettings: More docs for deprecated _list_schemas()