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 750395 - Fix the GDataAccessRule example
Fix the GDataAccessRule example
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: General
0.16.x
Other All
: Normal normal
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-04 13:02 UTC by Debarshi Ray
Modified: 2015-06-04 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core: Fix the GDataAccessRule example (1.98 KB, patch)
2015-06-04 13:04 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2015-06-04 13:02:57 UTC
I noticed that the sample code in the documentations is wrong when trying to write a test program. We need to pass the a GDataAuthorizationDomain to gdata_service_insert_entry, and we should not unref the GDataLink returned by gdata_entry_look_up_link.
Comment 1 Debarshi Ray 2015-06-04 13:04:10 UTC
Created attachment 304580 [details] [review]
core: Fix the GDataAccessRule example
Comment 2 Philip Withnall 2015-06-04 15:24:01 UTC
Review of attachment 304580 [details] [review]:

Good spot, thanks.