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 740843 - Correct documentation of e_cal_client_remove_object_sync()
Correct documentation of e_cal_client_remove_object_sync()
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
3.13.x (obsolete)
Other Linux
: Normal trivial
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-11-28 11:10 UTC by Mateusz Polrola
Modified: 2014-11-28 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that corrects documentation (1.00 KB, patch)
2014-11-28 11:11 UTC, Mateusz Polrola
committed Details | Review

Description Mateusz Polrola 2014-11-28 11:10:10 UTC
Documentation of e_cal_client_remove_object_sync says that to remove all instances mod parameter should be set to E_CAL_OBJ_MODE_THIS.
But documentation of e_cal_client_remove_object, e_cal_client_remove_objects and e_cal_client_remove_objects_sync says that to remove all instances mod parameter should be set to E_CAL_OBJ_MODE_ALL.

As e_cal_client_remove_object_sync is internally calling e_cal_client_remove_objects_sync it should has the same description of mod parameter meaning.
Comment 1 Mateusz Polrola 2014-11-28 11:11:32 UTC
Created attachment 291714 [details] [review]
Patch that corrects documentation
Comment 2 Milan Crha 2014-11-28 14:06:16 UTC
Thanks for a bug report and patch. It's a nice catch.

Created commit 3626ec6 in eds master (3.13.9+) [1]
Created commit 5242b03 in eds evolution-data-server-3-12 (3.12.9+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=3626ec6