commit d42cdc00af96f0ba034e6e205216cf4e3c1c7540
parent 9515e440dd330e793570bb32caae7071759a034d
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:
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