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 743517 - GSettings API is missing some introspection functions
GSettings API is missing some introspection functions
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-01-26 10:21 UTC by Lars Karlitski
Modified: 2015-01-28 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsettings: add g_settings_schema_key_get_name (1.66 KB, patch)
2015-01-26 10:21 UTC, Lars Karlitski
committed Details | Review
gsettings: add g_settings_schema_list_children (3.34 KB, patch)
2015-01-26 10:22 UTC, Lars Karlitski
committed Details | Review

Description Lars Karlitski 2015-01-26 10:21:30 UTC
Attached patches add a way to get the name from a GSettingsSchemaKey and to
list children of a schema without instantiating a GSettings object.
Comment 1 Lars Karlitski 2015-01-26 10:21:32 UTC
Created attachment 295425 [details] [review]
gsettings: add g_settings_schema_key_get_name
Comment 2 Lars Karlitski 2015-01-26 10:22:19 UTC
Created attachment 295426 [details] [review]
gsettings: add g_settings_schema_list_children
Comment 3 Allison Karlitskaya (desrt) 2015-01-28 09:18:45 UTC
Review of attachment 295425 [details] [review]:

docs sections update please (and then push)
Comment 4 Allison Karlitskaya (desrt) 2015-01-28 09:19:50 UTC
Review of attachment 295426 [details] [review]:

Assuming you just copy-pasted that code (and I don't need to read it), seems reasonable.

Docs section update, please.
Comment 5 Lars Karlitski 2015-01-28 18:13:37 UTC
Attachment 295425 [details] pushed as d95bb1f - gsettings: add g_settings_schema_key_get_name
Attachment 295426 [details] pushed as 6d55189 - gsettings: add g_settings_schema_list_children