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 652667 - Create Folks usage examples
Create Folks usage examples
Status: RESOLVED OBSOLETE
Product: folks
Classification: Platform
Component: documentation
git master
Other Linux
: Normal normal
: 1.0
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-15 16:48 UTC by Travis Reitter
Modified: 2018-08-04 08:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Small useless Javascript example (651 bytes, application/javascript)
2011-06-15 20:41 UTC, Raul Gutierrez Segales
Details

Description Travis Reitter 2011-06-15 16:48:16 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.
Comment 1 Raul Gutierrez Segales 2011-06-15 20:41:21 UTC
Created attachment 190003 [details]
Small useless Javascript example

Not much going on in this example.
Comment 2 Philip Withnall 2011-06-17 08:42:57 UTC
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.
Comment 3 Philip Withnall 2012-11-16 20:48:13 UTC
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.)
Comment 4 GNOME Infrastructure Team 2018-08-04 08:27:48 UTC
-- 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.