GNOME Bugzilla – Bug 652667
Create Folks usage examples
Last modified: 2018-08-04 08:27:48 UTC
We need some Folks usage examples, pref. in a few languages. These will be generally-useful to refer new developers to and will provide some modicum of stability-awareness to our support of the given languages. Eg, if we break something basic (intentionally or not), our build will break on those examples.
Created attachment 190003 [details] Small useless Javascript example Not much going on in this example.
Looks good as a minimal example to me, although a few more comments would be instructive. > // FIXME: we should make this work with the > // std new Class() notation What needs to be done for this? The GIR XML for IndividualAggregator looks OK to me in this respect. > MainLoop.run(''); Missing a space before the opening bracket.
One example which is definitely needed is of setting a property correctly using its change_*() method, rather than by setting the GObject property directly. (Necessary for error notification and blocking on the changes propagating to the backend.)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/folks/issues/21.