talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 5b4c3de1dc3440e03272fa8b89f7f4e633821895
parent a835b8d1daaa92bf7b41d8dbd75bd088d3c1e06b
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Thu,  3 Jan 2019 19:48:58 +0100

Fix return type for vcal_manager_get_cutype_for_attendee()

Patch by Avinash Sonawane, bug #4037.

Diffstat:
Msrc/plugins/vcalendar/vcal_manager.c | 2+-
Msrc/plugins/vcalendar/vcal_manager.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/vcalendar/vcal_manager.c b/src/plugins/vcalendar/vcal_manager.c @@ -221,7 +221,7 @@ gchar *vcal_manager_get_cutype_text_for_attendee(VCalEvent *event, const gchar * return res; } -icalparameter_partstat vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att) +icalparameter_cutype vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att) { Answer *a = answer_new(att, NULL, 0, 0); GSList *ans = answer_find(event, a); diff --git a/src/plugins/vcalendar/vcal_manager.h b/src/plugins/vcalendar/vcal_manager.h @@ -106,7 +106,7 @@ gchar *vcal_manager_get_attendee_name(VCalEvent *event, const gchar *attendee); gchar *vcal_manager_get_reply_text_for_attendee(VCalEvent *event, const gchar *att); gchar *vcal_manager_get_cutype_text_for_attendee(VCalEvent *event, const gchar *att); enum icalparameter_partstat vcal_manager_get_reply_for_attendee(VCalEvent *event, const gchar *att); -enum icalparameter_partstat vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att); +enum icalparameter_cutype vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att); gchar *vcal_manager_get_event_path(void); gchar *vcal_manager_get_event_file(const gchar *uid); gchar *vcal_manager_event_dump(VCalEvent *event, gboolean change_date, gboolean