GNOME Bugzilla – Bug 330458
Sample code for the GLib Key-value parser
Last modified: 2017-10-26 11:59:32 UTC
Documentation Section: Key-value parser none Correct version: none Other information: here is a patch to add some sample code showing how to use the GKeyFile API
Created attachment 58956 [details] [review] Example for using GKeyfile
Thanks for your contribution. Some comments: - the code formatting is a bit off, we try to follow the same style used in GTK+ source code for the example. - the example is a bit long, considering the supposedly simple GKeyFile api. Maybe split it into multiple examples at the interspersed "section headings"
Created attachment 361905 [details] [review] gkeyfile: Add some examples to the documentation Add some examples of loading and saving key files. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Comment on attachment 58956 [details] [review] Example for using GKeyfile This patch doesn’t apply any more, so I wrote a new one.
Review of attachment 58956 [details] [review]: lets get this in before it rots again
Attachment 361905 [details] pushed as a71251d - gkeyfile: Add some examples to the documentation